浏览代码

[POWERPC] Enable GENERIC_ISA_DMA if FSL_ULI1575 to fix compile issue

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>
Kumar Gala 17 年之前
父节点
当前提交
fb4f0e8832
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      arch/powerpc/platforms/Kconfig

+ 1 - 0
arch/powerpc/platforms/Kconfig

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