diff options
| author | Vladimir Oltean <[email protected]> | 2021-09-17 15:11:22 +0300 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-10-03 14:40:56 -0400 |
| commit | f5164f6b255a16c856af91b21f432292b8ac8542 (patch) | |
| tree | d30e7f8a0032a8ac26cbd7aeba5e119e1b43363f /cmd | |
| 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 <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Diffstat (limited to 'cmd')
| -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 af75a6cfff4..ebe7c0fc537 100644 --- a/cmd/pci.c +++ b/cmd/pci.c @@ -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; |
