diff options
author | Vladimir Oltean | 2021-09-17 15:11:21 +0300 |
---|---|---|
committer | Tom Rini | 2021-10-03 14:40:56 -0400 |
commit | 7f76084e2b62e5cdccd1ed30107fab7eb695edb6 (patch) | |
tree | a27812ae9bc7253d945fe74d08e33da7690001a7 | |
parent | 2649f69f13668b29e4e46ad3249143910048e1e5 (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.c | 1 |
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 |