From: Vladimir Oltean Date: Fri, 17 Sep 2021 12:11:21 +0000 (+0300) Subject: pci: include pci_internal.h inside pci_auto.c X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-logo.png?a=commitdiff_plain;h=7f76084e2b62e5cdccd1ed30107fab7eb695edb6;p=u-boot.git pci: include pci_internal.h inside pci_auto.c To avoid a build warning with W=1, provide a function prototype for dm_pciauto_prescan_setup_bridge, which is a non-static function whose definition is inside pci_auto.c. Signed-off-by: Vladimir Oltean Reviewed-by: Bin Meng --- diff --git a/drivers/pci/pci_auto.c b/drivers/pci/pci_auto.c index 7b6e629cae..08082460eb 100644 --- a/drivers/pci/pci_auto.c +++ b/drivers/pci/pci_auto.c @@ -12,6 +12,7 @@ #include #include #include +#include "pci_internal.h" /* the user can define CONFIG_SYS_PCI_CACHE_LINE_SIZE to avoid problems */ #ifndef CONFIG_SYS_PCI_CACHE_LINE_SIZE