Browse Source

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>
Guennadi Liakhovetski 14 năm trước cách đây
mục cha
commit
022b483596
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      drivers/mmc/host/Kconfig

+ 1 - 0
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