projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a95f8ee
)
pci: pciinfo_header can be static
author
Vladimir Oltean
<vladimir.oltean@nxp.com>
Fri, 17 Sep 2021 12:11:24 +0000
(15:11 +0300)
committer
Tom Rini
<trini@konsulko.com>
Sun, 3 Oct 2021 18:40:56 +0000
(14:40 -0400)
To avoid W=1 build warnings, declare this function as static, since it
is not used outside of this translation module.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
cmd/pci.c
patch
|
blob
|
history
diff --git
a/cmd/pci.c
b/cmd/pci.c
index 7febff497c543123d18b205882145898c5abd0d3..cfabdc0f3012fbcb3818f08e6e777de6563181da 100644
(file)
--- a/
cmd/pci.c
+++ b/
cmd/pci.c
@@
-251,7
+251,7
@@
static void pci_header_show(struct udevice *dev)
}
}
-void pciinfo_header(int busnum, bool short_listing)
+
static
void pciinfo_header(int busnum, bool short_listing)
{
printf("Scanning PCI devices on bus %d\n", busnum);