[PATCH] [2.6.24-rc2-mm1] Fix dependencies for FSL_DMA

Olof Johansson
2007-11-14T06:31:57Z

[POWERPC] Fix dependencies for FSL_DMA

>From a powerpc allyesconfig build:

drivers/dma/fsldma.c:504: error: implicit declaration of function 'bus_to_virt'

Signed-off-by: Olof Johansson <olof@lixom.net>

Index: mm/drivers/dma/Kconfig
===================================================================
--- mm.orig/drivers/dma/Kconfig
+++ mm/drivers/dma/Kconfig
@@ -36,7 +36,7 @@ config INTEL_IOP_ADMA

config FSL_DMA
bool "Freescale MPC85xx/MPC83xx DMA support"
- depends on PPC
+ depends on PPC && VIRT_TO_BUS
select DMA_ENGINE
---help---
Enable support for the Freescale DMA engine. Now, it support