From: Amarinder Bindra Date: Wed, 10 Jul 2013 16:06:24 +0000 (+0530) Subject: mmc: omap_hsmmc: use the generic config for omap2plus devices X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=bcf24e1daa94f4c52ef7a3f657e43cc6bc50d46b;p=deliverable%2Flinux.git mmc: omap_hsmmc: use the generic config for omap2plus devices OMAP's hs_mmc driver is used for MMC controller operation on many omap2plus SoCs (OMAP2430, OMAP3, 4, 5 and AM335x). Considering that the device tree entries are already present for these, allow the driver to be built using the config ARCH_OMAP2PLUS rather than individually adding a config for each SoC to enable the support. Use COMPILE_TEST to enable the build for other platforms. Signed-off-by: Amarinder Bindra Cc: Ezequiel Garcia Cc: Nishanth Menon Acked-by: Felipe Balbi Acked-by: Balaji T K Signed-off-by: Chris Ball --- diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index 84102bcd1796..b8ce939fac21 100644 --- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig @@ -284,11 +284,11 @@ config MMC_OMAP config MMC_OMAP_HS tristate "TI OMAP High Speed Multimedia Card Interface support" - depends on SOC_OMAP2430 || ARCH_OMAP3 || ARCH_OMAP4 + depends on ARCH_OMAP2PLUS || COMPILE_TEST help This selects the TI OMAP High Speed Multimedia card Interface. - If you have an OMAP2430 or OMAP3 board or OMAP4 board with a - Multimedia Card slot, say Y or M here. + If you have an omap2plus board with a Multimedia Card slot, + say Y or M here. If unsure, say N.