From: Vladimir Oltean Date: Fri, 17 Sep 2021 12:11:24 +0000 (+0300) Subject: pci: pciinfo_header can be static X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=577fd581a70db6c3a5c008668f3cd047d6e141c3;p=u-boot.git 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 Reviewed-by: Bin Meng --- diff --git a/cmd/pci.c b/cmd/pci.c index 7febff497c..cfabdc0f30 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);