aboutsummaryrefslogtreecommitdiff
path: root/drivers/ntb
diff options
context:
space:
mode:
authorDave Jiang2020-05-26 10:28:53 -0700
committerJon Mason2020-06-05 20:02:08 -0400
commit893733c58d59f43e4c5219bf9ab9e9d39bb14289 (patch)
tree7b362fc5e79627f0dd901735de28d469e2b5722c /drivers/ntb
parent134a86545c6072c049a2c6e77d6843e650df511d (diff)
ntb: intel: fix static declaration
intel_ntb4_link_disable() missing static declaration. Reported-by: kbuild test robot <lkp@intel.com> Signed-off-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'drivers/ntb')
-rw-r--r--drivers/ntb/hw/intel/ntb_hw_gen4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ntb/hw/intel/ntb_hw_gen4.c b/drivers/ntb/hw/intel/ntb_hw_gen4.c
index 28fa0ab7b0fb..bc4541cbf8c6 100644
--- a/drivers/ntb/hw/intel/ntb_hw_gen4.c
+++ b/drivers/ntb/hw/intel/ntb_hw_gen4.c
@@ -456,7 +456,7 @@ static int intel_ntb4_link_enable(struct ntb_dev *ntb,
return 0;
}
-int intel_ntb4_link_disable(struct ntb_dev *ntb)
+static int intel_ntb4_link_disable(struct ntb_dev *ntb)
{
struct intel_ntb_dev *ndev;
u32 ntb_cntl;