diff options
author | Dave Jiang <dave.jiang@intel.com> | 2020-05-26 19:28:53 +0200 |
---|---|---|
committer | Jon Mason <jdmason@kudzu.us> | 2020-06-06 02:02:08 +0200 |
commit | 893733c58d59f43e4c5219bf9ab9e9d39bb14289 (patch) | |
tree | 7b362fc5e79627f0dd901735de28d469e2b5722c /drivers/ntb/hw | |
parent | ntb: intel: add hw workaround for NTB BAR alignment (diff) | |
download | linux-893733c58d59f43e4c5219bf9ab9e9d39bb14289.tar.xz linux-893733c58d59f43e4c5219bf9ab9e9d39bb14289.zip |
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/hw')
-rw-r--r-- | drivers/ntb/hw/intel/ntb_hw_gen4.c | 2 |
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; |