Commit ad9faf4c authored by Arnd Bergmann's avatar Arnd Bergmann

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: default avatarArnd Bergmann <arnd@arndb.de>
Cc: Russell King <linux@arm.linux.org.uk>
parent fa04e209
...@@ -52,6 +52,7 @@ config ARCH_EBSA285_HOST ...@@ -52,6 +52,7 @@ config ARCH_EBSA285_HOST
select FOOTBRIDGE_HOST select FOOTBRIDGE_HOST
select ISA select ISA
select ISA_DMA select ISA_DMA
select ARCH_MAY_HAVE_PC_FDC
select PCI select PCI
help help
Say Y here if you intend to run this kernel on the EBSA285 card Say Y here if you intend to run this kernel on the EBSA285 card
...@@ -94,6 +95,5 @@ config FOOTBRIDGE_ADDIN ...@@ -94,6 +95,5 @@ config FOOTBRIDGE_ADDIN
# EBSA285 board in either host or addin mode # EBSA285 board in either host or addin mode
config ARCH_EBSA285 config ARCH_EBSA285
bool bool
select ARCH_MAY_HAVE_PC_FDC
endif endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment