summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2011-03-28 09:16:33 +0200
committerChris Ball <cjb@laptop.org>2011-03-28 09:41:27 -0400
commit022b483596fabb5d1320aa4b76f43a754063f37e (patch)
tree4daeefc91287b9ca2acd1a90b4d58dc0b548c17d
parentcba179aec779b364a683906b99e23014c7652e8e (diff)
downloadlinux-3.10-022b483596fabb5d1320aa4b76f43a754063f37e.tar.gz
linux-3.10-022b483596fabb5d1320aa4b76f43a754063f37e.tar.bz2
linux-3.10-022b483596fabb5d1320aa4b76f43a754063f37e.zip
mmc: SDHI should depend on SUPERH || ARCH_SHMOBILE
Fix build breakage on platforms, not providing readsw and writesw functions, e.g., on x86(_64). Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Chris Ball <cjb@laptop.org>
-rw-r--r--drivers/mmc/host/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index 0b03cee9145..94df40531c3 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -452,6 +452,7 @@ config MMC_TMIO
config MMC_SDHI
tristate "SH-Mobile SDHI SD/SDIO controller support"
+ depends on SUPERH || ARCH_SHMOBILE
select MMC_TMIO_CORE
help
This provides support for the SDHI SD/SDIO controller found in