From: Fabio Estevam Date: Thu, 20 Jan 2011 17:02:59 +0000 (-0200) Subject: mmc: mmc_mxc: Allow selection only for the correct platforms X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=170cba8cad5d9350f2c76bbd22013cc31ae26b0f;p=linux-beck.git mmc: mmc_mxc: Allow selection only for the correct platforms Currently MMC_MXC driver can be selected by all i.MX devices. Restrict its use only for the appropriate processors. Signed-off-by: Fabio Estevam Acked-by: Sascha Hauer Signed-off-by: Chris Ball --- diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index afe8c6fa166a..54b7bd54a52a 100644 --- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig @@ -311,7 +311,7 @@ config MMC_MSM config MMC_MXC tristate "Freescale i.MX2/3 Multimedia Card Interface support" - depends on ARCH_MXC + depends on MACH_MX21 || MACH_MX27 || ARCH_MX31 help This selects the Freescale i.MX2/3 Multimedia card Interface. If you have a i.MX platform with a Multimedia Card slot,