mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-17 12:41:32 +00:00
pci: pci_bar_show 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
7f76084e2b
commit
f5164f6b25
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ static void pci_show_regs(struct udevice *dev, struct pci_reg_info *regs)
|
|||
}
|
||||
}
|
||||
|
||||
int pci_bar_show(struct udevice *dev)
|
||||
static int pci_bar_show(struct udevice *dev)
|
||||
{
|
||||
u8 header_type;
|
||||
int bar_cnt, bar_id, mem_type;
|
||||
|
|
Loading…
Add table
Reference in a new issue