MMC should select GPIOLIB to build:

ERROR: "devm_gpio_request_one" [drivers/mmc/core/mmc_core.ko] undefined!
linux-next/scripts/Makefile.modpost:90: recipe for target '__modpost' failed
make[1]: *** [__modpost] Error 1
Makefile:955: recipe for target 'modules' failed

Signed-off-by: Sergey Senozhatsky <[email protected]>

---

 drivers/mmc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig
index f2eeb38..bf44002 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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to