Messages in this thread Patch in this message | | | Date | Wed, 26 Jan 2011 19:14:51 -0800 (PST) | From | David Rientjes <> | Subject | [patch 3/4] x86: only compile floppy driver if CONFIG_ISA_DMA_API is enabled |
| |
The generic floppy disk driver utilizies the interface provided by CONFIG_ISA_DMA_API, specifically claim_dma_lock(), release_dma_lock(), request_dma(), and free_dma(). Thus, there's a strict dependency on the config option and the driver should only be loaded if the kernel supports ISA-style DMA.
Signed-off-by: David Rientjes <rientjes@google.com> --- arch/x86/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -139,7 +139,7 @@ config GENERIC_GPIO bool config ARCH_MAY_HAVE_PC_FDC - def_bool y + def_bool ISA_DMA_API config RWSEM_GENERIC_SPINLOCK def_bool !X86_XADD
| |