mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-17 02:27:00 +07:00
net: hns: make hns_dsaf_roce_reset non static
hns_dsaf_roce_reset is exported and used in hns_roce_hw_v1.c In commit336a443bd9
("net: hns: Make many functions static") I make it static wrongly. drivers/infiniband/hw/hns/hns_roce_hw_v1.o: In function `hns_roce_v1_reset': hns_roce_hw_v1.c:(.text+0x37ac): undefined reference to `hns_dsaf_roce_reset' hns_roce_hw_v1.c:(.text+0x37cc): undefined reference to `hns_dsaf_roce_reset' Fixes:336a443bd9
("net: hns: Make many functions static") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
6a8fab1794
commit
ff7b91262b
@ -2836,7 +2836,7 @@ module_platform_driver(g_dsaf_driver);
|
||||
* @enable: false - request reset , true - drop reset
|
||||
* retuen 0 - success , negative -fail
|
||||
*/
|
||||
static int hns_dsaf_roce_reset(struct fwnode_handle *dsaf_fwnode, bool dereset)
|
||||
int hns_dsaf_roce_reset(struct fwnode_handle *dsaf_fwnode, bool dereset)
|
||||
{
|
||||
struct dsaf_device *dsaf_dev;
|
||||
struct platform_device *pdev;
|
||||
|
Loading…
Reference in New Issue
Block a user