pci: pci_bar_show can be static
[platform/kernel/u-boot.git] / cmd / pci.c
index af75a6c..ebe7c0f 100644 (file)
--- 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;