aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Oltean2021-09-17 15:11:21 +0300
committerTom Rini2021-10-03 14:40:56 -0400
commit7f76084e2b62e5cdccd1ed30107fab7eb695edb6 (patch)
treea27812ae9bc7253d945fe74d08e33da7690001a7
parent2649f69f13668b29e4e46ad3249143910048e1e5 (diff)
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 <vladimir.oltean@nxp.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
-rw-r--r--drivers/pci/pci_auto.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/pci_auto.c b/drivers/pci/pci_auto.c
index 7b6e629cae7..08082460eb8 100644
--- a/drivers/pci/pci_auto.c
+++ b/drivers/pci/pci_auto.c
@@ -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