Thread (7 messages) flat view 7 messages, 5 authors, 2011-02-09
STALE5689d

[PATCH] mmc: mmc_mxc: Allow selection only for the correct platforms

From: Uwe Kleine-König <hidden>
Date: 2011-01-21 15:33:51
Also in: linux-mmc

Hallo,

On Thu, Jan 20, 2011 at 03:02:59PM -0200, Fabio Estevam wrote:
quoted hunk ↗ jump to hunk
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 <redacted>
---
 drivers/mmc/host/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index d618e86..a3a9ec1 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -288,7 +288,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
What about

	depends IMX_HAVE_PLATFORM_MXC_MMC

?  Then if i.MX29 has the same IP you don't need to touch this again.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help