diff options
author | Vladimir Oltean | 2021-09-17 15:11:24 +0300 |
---|---|---|
committer | Tom Rini | 2021-10-03 14:40:56 -0400 |
commit | 577fd581a70db6c3a5c008668f3cd047d6e141c3 (patch) | |
tree | dc24ec4e70ff50aced5e9768374a0cefe4a38235 | |
parent | a95f8ee911df637b5269c3c2a9a34302a5ec9eb2 (diff) |
pci: pciinfo_header can be static
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>
-rw-r--r-- | cmd/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/pci.c b/cmd/pci.c index 7febff497c5..cfabdc0f301 100644 --- 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); |