summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-footbridge
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-02-17 20:25:45 +0100
committerArnd Bergmann <arnd@arndb.de>2014-03-21 18:26:08 +0100
commitad9faf4c4cb375550d0b1acad604f7b8755563d7 (patch)
tree80bedae84db63730df4901eae14b826f7282fd68 /arch/arm/mach-footbridge
parentfa04e209aeb251bebfe6a7a5966a3d5bbd5c13b5 (diff)
downloadlinux-ad9faf4c4cb375550d0b1acad604f7b8755563d7.tar.bz2
ARM: footbridge: don't build floppy code for addin mode
The ARCH_EBSA285_ADDIN platform does not provide the ISA_DMA API, which is required by the floppy driver. Let's ensure that the floppy code can only be built when ISA_DMA is also enabled, by moving the select statement into ARCH_EBSA285_HOST. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Russell King <linux@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-footbridge')
-rw-r--r--arch/arm/mach-footbridge/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-footbridge/Kconfig b/arch/arm/mach-footbridge/Kconfig
index fba55fb9f47d..07152d00fc50 100644
--- a/arch/arm/mach-footbridge/Kconfig
+++ b/arch/arm/mach-footbridge/Kconfig
@@ -52,6 +52,7 @@ config ARCH_EBSA285_HOST
select FOOTBRIDGE_HOST
select ISA
select ISA_DMA
+ select ARCH_MAY_HAVE_PC_FDC
select PCI
help
Say Y here if you intend to run this kernel on the EBSA285 card
@@ -94,6 +95,5 @@ config FOOTBRIDGE_ADDIN
# EBSA285 board in either host or addin mode
config ARCH_EBSA285
bool
- select ARCH_MAY_HAVE_PC_FDC
endif