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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[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 <[email protected]>

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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux