OSDN Git Service

net: hns: make hns_dsaf_roce_reset non static
authorYueHaibing <yuehaibing@huawei.com>
Fri, 27 Jul 2018 01:53:12 +0000 (09:53 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Jul 2018 04:19:31 +0000 (21:19 -0700)
commitff7b91262b3ad31dfe1461dace0314a773b0fa55
treeea04f977327b46504be3efdb94f70e6ee579041d
parent6a8fab17940d4934293d4145abce00e178393bec
net: hns: make hns_dsaf_roce_reset non static

hns_dsaf_roce_reset is exported and used in hns_roce_hw_v1.c
In commit 336a443bd9dd ("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: 336a443bd9dd ("net: hns: Make many functions static")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c