[POWERPC] Enable GENERIC_ISA_DMA if FSL_ULI1575 to fix compile issue
authorKumar Gala <galak@kernel.crashing.org>
Mon, 10 Sep 2007 19:57:34 +0000 (14:57 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 12 Sep 2007 15:41:10 +0000 (10:41 -0500)
Since the ULI1575 has a ISA bus we need to enable the generic ISA dma
support for drivers that might expect it.  Without this we get compile
errors like the following:

ound/built-in.o: In function `claim_dma_lock':
/home/galak/git/linux-8572/include/asm/dma.h:189: undefined reference to `dma_spin_lock'
/home/galak/git/linux-8572/include/asm/dma.h:189: undefined reference to `dma_spin_lock'
sound/built-in.o: In function `release_dma_lock':
/home/galak/git/linux-8572/include/asm/dma.h:195: undefined reference to `dma_spin_lock'
sound/built-in.o: In function `claim_dma_lock':
/home/galak/git/linux-8572/include/asm/dma.h:189: undefined reference to `dma_spin_lock'
/home/galak/git/linux-8572/include/asm/dma.h:189: undefined reference to `dma_spin_lock'
sound/built-in.o:/home/galak/git/linux-8572/include/asm/dma.h:195: more undefined references to `dma_spin_lock' follow
make: *** [.tmp_vmlinux1] Error 1

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/Kconfig

index cfc2497..19d4628 100644 (file)
@@ -285,6 +285,7 @@ config AXON_RAM
 config FSL_ULI1575
        bool
        default n
 config FSL_ULI1575
        bool
        default n
+       select GENERIC_ISA_DMA
        help
          Supports for the ULI1575 PCIe south bridge that exists on some
          Freescale reference boards. The boards all use the ULI in pretty
        help
          Supports for the ULI1575 PCIe south bridge that exists on some
          Freescale reference boards. The boards all use the ULI in pretty