Re: [PATCH 02/11] pci: include pci_internal.h inside pci_auto.c
On Fri, Sep 17, 2021 at 03:11:21PM +0300, Vladimir Oltean wrote: > 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 Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature
Re: [PATCH 02/11] pci: include pci_internal.h inside pci_auto.c
On Fri, Sep 17, 2021 at 8:11 PM Vladimir Oltean wrote: > > 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 > --- > drivers/pci/pci_auto.c | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Bin Meng
[PATCH 02/11] 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 --- drivers/pci/pci_auto.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/pci_auto.c b/drivers/pci/pci_auto.c index b128a05dd380..8de5e7e12d43 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 -- 2.25.1