From: Vladimir Oltean Date: Fri, 17 Sep 2021 12:11:22 +0000 (+0300) Subject: pci: pci_bar_show can be static X-Git-Tag: v2022.01~102^2^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f5164f6b255a16c856af91b21f432292b8ac8542;p=platform%2Fkernel%2Fu-boot.git 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 Reviewed-by: Bin Meng --- diff --git a/cmd/pci.c b/cmd/pci.c index af75a6c..ebe7c0f 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;