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

From: Olof Johansson
Date: Wed Nov 14 2007 - 01:32:02 EST


[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@xxxxxxxxx>

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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/