Skip to contentSkip to conversation

mmc: MMC requires GPIOLIB to build

PATCH New Sergey Senozhatsky 1 participant 1 message Oct 29, 2013 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmc: MMC requires GPIOLIB to build

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

---

 drivers/mmc/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/mmc/Kconfig +1 -0
index f2eeb38..bf44002 100644
@@ -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.