mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
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>
This commit is contained in:
parent
a95f8ee911
commit
577fd581a7
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue