From: Vladimir Oltean Date: Fri, 17 Sep 2021 12:11:23 +0000 (+0300) Subject: pci: pci_header_show can be static X-Git-Tag: v2022.01~102^2^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a95f8ee911df637b5269c3c2a9a34302a5ec9eb2;p=platform%2Fkernel%2Fu-boot.git pci: pci_header_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 ebe7c0f..7febff4 100644 --- a/cmd/pci.c +++ b/cmd/pci.c @@ -223,7 +223,7 @@ static struct pci_reg_info regs_cardbus[] = { * * @dev: Bus+Device+Function number */ -void pci_header_show(struct udevice *dev) +static void pci_header_show(struct udevice *dev) { unsigned long class, header_type;