From: Pranith Kumar Date: Mon, 18 Aug 2014 21:13:41 +0000 (-0400) Subject: powerpc: Fix build error with CONFIG_PCI=n X-Git-Tag: fixes-against-v3.18-rc2~117^2~100 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3484a31fce22348b9034024cf9368ab2dbbfd0ab;p=pandora-kernel.git 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 Reported-by: Geert Uytterhoeven CC: Andrew Morton Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed