On Apr 16, 2010, at 2:07 PM, Anton Vorontsov wrote:

> Currently some MPC85xx and MPC86xx boards fail to build without
> CONFIG_PCI:
> 
> arch/powerpc/platforms/fsl_uli1575.c: In function 'quirk_final_uli5249':
> arch/powerpc/platforms/fsl_uli1575.c:234: error: implicit declaration of 
> function 'pci_bus_for_each_resource'
> arch/powerpc/platforms/fsl_uli1575.c:234: error: expected ';' before '{' token
> cc1: warnings being treated as errors
> arch/powerpc/platforms/fsl_uli1575.c:223: warning: unused variable 'dummy'
> make[1]: *** [arch/powerpc/platforms/fsl_uli1575.o] Error 1
> 
> This patch fixes the issue by appending 'if PCI' condition when
> selecting FSL_ULI1575 Kconfig symbol.
> 
> Signed-off-by: Anton Vorontsov <avoront...@mvista.com>
> ---
> arch/powerpc/platforms/85xx/Kconfig |    4 ++--
> arch/powerpc/platforms/86xx/Kconfig |    4 ++--
> 2 files changed, 4 insertions(+), 4 deletions(-)

applied to merge.

- k
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to