ntb_hw_switchtec: Make function switchtec_ntb_remove() static
commitae07abdb84b267627f6e10fb813e62de5c3c8117
authorWei Yongjun <weiyongjun1@huawei.com>
Tue, 23 Jan 2018 02:09:21 +0000 (23 02:09 +0000)
committerJon Mason <jdmason@kudzu.us>
Mon, 29 Jan 2018 03:17:24 +0000 (28 22:17 -0500)
tree75e22fa7be80657ca67e51b651bd98d0771d7f87
parent2e2bc5a9a300261853303c006b7c29faafc64221
ntb_hw_switchtec: Make function switchtec_ntb_remove() static

Fixes the following sparse warnings:

drivers/ntb/hw/mscc/ntb_hw_switchtec.c:1552:6: warning:
 symbol 'switchtec_ntb_remove' was not declared. Should it be static?

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/hw/mscc/ntb_hw_switchtec.c