The slot-gpio support has been compiled into the core for some time,
and it basically requires GPIOLIB to be present, very few systems
are using the archaic GPIO API (just defined function names) and
those should be migrated to GPIOLIB anyway.

The rewrite to use GPIO descriptors require that we enable GPIOLIB,
so make CONFIG_MMC select CONFIG_GPIOLIB.

Signed-off-by: Linus Walleij <linus.wall...@linaro.org>
---
 drivers/mmc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig
index f2eeb38efa65..bf44002793c4 100644
--- a/drivers/mmc/Kconfig
+++ b/drivers/mmc/Kconfig
@@ -5,6 +5,7 @@
 menuconfig MMC
        tristate "MMC/SD/SDIO card support"
        depends on HAS_IOMEM
+       select GPIOLIB
        help
          This selects MultiMediaCard, Secure Digital and Secure
          Digital I/O support.
-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to