diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2011-03-28 09:16:33 +0200 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-03-28 15:41:27 +0200 |
commit | 022b483596fabb5d1320aa4b76f43a754063f37e (patch) | |
tree | 4daeefc91287b9ca2acd1a90b4d58dc0b548c17d /drivers | |
parent | mmc: tmio_mmc: Move some defines into a shared header (diff) | |
download | linux-022b483596fabb5d1320aa4b76f43a754063f37e.tar.xz linux-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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mmc/host/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index 0b03cee91451..94df40531c38 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 |