]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/85xx/86xx: Fix build w/ CONFIG_PCI=n
authorAnton Vorontsov <avorontsov@mvista.com>
Fri, 16 Apr 2010 19:07:24 +0000 (23:07 +0400)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 20 Apr 2010 04:12:21 +0000 (23:12 -0500)
commit2fb8b92970c75624f86fb169b4a44eb960295573
treebdf1e6855dc92aa37e0094adfe3a2a0bad71a4d8
parente81baa679f43df02ace8c3263b53c767d714f2cd
powerpc/85xx/86xx: Fix build w/ CONFIG_PCI=n

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 <avorontsov@mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/85xx/Kconfig
arch/powerpc/platforms/86xx/Kconfig