aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
authorPranith Kumar <bobby.prani@gmail.com>2014-08-18 17:13:41 -0400
committerMichael Ellerman <mpe@ellerman.id.au>2014-09-25 09:14:35 -0400
commit3484a31fce22348b9034024cf9368ab2dbbfd0ab (patch)
treeb0bd35c9c2d9ff2e95bafbddf979734b3bd94f51 /arch/powerpc/Kconfig
parentc913e5f95e546d8d3a9f99ba9908f7e095cbc1fb (diff)
powerpc: Fix build error with CONFIG_PCI=n
Fix ppc 32 build failure as reported here: http://kisskb.ellerman.id.au/kisskb/buildresult/11663513/ The error is as follows: arch/powerpc/include/asm/floppy.h:142:20: error: 'isa_bridge_pcidev' undeclared (first use in this function) This is happening since floppy.o is enabled by BLK_DEV_FD which depends on ARCH_MAY_HAVE_PC_FDC which is in-turn enabled if PPC_PSERIES=n. The following commit changes the dependency so that ARCH_MAY_HAVE_PC_FDC is dependent exclusively on PCI since otherwise it will not compile. Signed-off-by: Pranith Kumar <bobby.prani@gmail.com> Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> CC: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r--arch/powerpc/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 4bc7b62fb4b6..ece1c01ddb2f 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -182,7 +182,7 @@ config SCHED_OMIT_FRAME_POINTER
182 182
183config ARCH_MAY_HAVE_PC_FDC 183config ARCH_MAY_HAVE_PC_FDC
184 bool 184 bool
185 default !PPC_PSERIES || PCI 185 default PCI
186 186
187config PPC_OF 187config PPC_OF
188 def_bool y 188 def_bool y