diff mbox

[-next] mmc: MMC requires GPIOLIB to build

Message ID 20131029133520.GB2180@swordfish.minsk.epam.com (mailing list archive)
State New, archived
Headers show

Commit Message

Sergey Senozhatsky Oct. 29, 2013, 1:35 p.m. UTC
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 <sergey.senozhatsky@gmail.com>

---

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


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

Patch

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.