From: Guennadi Liakhovetski Date: Mon, 28 Mar 2011 07:16:33 +0000 (+0200) Subject: mmc: SDHI should depend on SUPERH || ARCH_SHMOBILE X-Git-Tag: firefly_0821_release~7613^2~1729^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=022b483596fabb5d1320aa4b76f43a754063f37e;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Guennadi Liakhovetski Signed-off-by: Chris Ball --- 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