mmc: mmc_mxc: Allow selection only for the correct platforms
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 20 Jan 2011 17:02:59 +0000 (15:02 -0200)
committerChris Ball <cjb@laptop.org>
Tue, 15 Mar 2011 17:48:49 +0000 (13:48 -0400)
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 <fabio.estevam@freescale.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/Kconfig

index afe8c6f..54b7bd5 100644 (file)
@@ -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,