diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2021-09-17 15:11:22 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-10-03 14:40:56 -0400 |
commit | f5164f6b255a16c856af91b21f432292b8ac8542 (patch) | |
tree | d30e7f8a0032a8ac26cbd7aeba5e119e1b43363f /cmd/pci.c | |
parent | 7f76084e2b62e5cdccd1ed30107fab7eb695edb6 (diff) |
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>
Diffstat (limited to 'cmd/pci.c')
-rw-r--r-- | cmd/pci.c | 2 |
1 files changed, 1 insertions, 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; |