]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00177046: Add the platform dependency for PXP in Kconfig
authorRobby Cai <R63905@freescale.com>
Fri, 16 Mar 2012 03:40:02 +0000 (11:40 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:11:15 +0000 (14:11 +0200)
If there's no dependency, build will be broken when do
`make ARCH=arm CROSS_COMPILE=<cross-compiler path> allmodconfig'
`make'
because PXP module will be turned on. This patch fixed it.

Signed-off-by: Robby Cai <R63905@freescale.com>
drivers/dma/Kconfig

index 7d6b9000e6a6363d9db09fa9444855c5a808c7b4..fda11931eef4fc33182d7d001843754ff8c9933f 100644 (file)
@@ -143,10 +143,12 @@ config MX3_IPU_IRQS
 
 config MXC_PXP
     bool "MXC PxP support"
+    depends on ARCH_MX50
     select DMA_ENGINE
 
 config MXC_PXP_V2
     bool "MXC PxP V2 support"
+    depends on ARCH_MX6
     select DMA_ENGINE
 
 config MXC_PXP_CLIENT_DEVICE