From: Robby Cai Date: Fri, 16 Mar 2012 03:40:02 +0000 (+0800) Subject: ENGR00177046: Add the platform dependency for PXP in Kconfig X-Git-Tag: v3.0.35-fsl_4.1.0~1481 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4429a63f3df4c1e750ded14c5f3b03df1246b3b7;p=karo-tx-linux.git ENGR00177046: Add the platform dependency for PXP in Kconfig If there's no dependency, build will be broken when do `make ARCH=arm CROSS_COMPILE= allmodconfig' `make' because PXP module will be turned on. This patch fixed it. Signed-off-by: Robby Cai --- diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index 7d6b9000e6a6..fda11931eef4 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -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