projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
134a865
)
ntb: intel: fix static declaration
author
Dave Jiang
<dave.jiang@intel.com>
Tue, 26 May 2020 17:28:53 +0000
(10:28 -0700)
committer
Jon Mason
<jdmason@kudzu.us>
Sat, 6 Jun 2020 00:02:08 +0000
(20:02 -0400)
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>
drivers/ntb/hw/intel/ntb_hw_gen4.c
patch
|
blob
|
history
diff --git
a/drivers/ntb/hw/intel/ntb_hw_gen4.c
b/drivers/ntb/hw/intel/ntb_hw_gen4.c
index
28fa0ab
..
bc4541c
100644
(file)
--- 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;