]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
pci: include pci_internal.h inside pci_auto.c
authorVladimir Oltean <vladimir.oltean@nxp.com>
Fri, 17 Sep 2021 12:11:21 +0000 (15:11 +0300)
committerTom Rini <trini@konsulko.com>
Sun, 3 Oct 2021 18:40:56 +0000 (14:40 -0400)
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 <vladimir.oltean@nxp.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/pci/pci_auto.c

index 7b6e629cae702e85b6ff55623db0fc5519160c3f..08082460eb8631cc051b0d6983979f0951e5c0d1 100644 (file)
@@ -12,6 +12,7 @@
 #include <errno.h>
 #include <log.h>
 #include <pci.h>
+#include "pci_internal.h"
 
 /* the user can define CONFIG_SYS_PCI_CACHE_LINE_SIZE to avoid problems */
 #ifndef CONFIG_SYS_PCI_CACHE_LINE_SIZE