diff mbox

mmc: select GPIOLIB for MMC support

Message ID 1408375217-20500-1-git-send-email-linus.walleij@linaro.org (mailing list archive)
State New, archived
Headers show

Commit Message

Linus Walleij Aug. 18, 2014, 3:20 p.m. UTC
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.walleij@linaro.org>
---
 drivers/mmc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Ulf Hansson Aug. 18, 2014, 4 p.m. UTC | #1
On 18 August 2014 17:20, Linus Walleij <linus.walleij@linaro.org> wrote:
> 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.walleij@linaro.org>

Thanks! Applied for next.

I put it prior the other GPIO descriptor patches to not break bisectability.

Kind regards
Uffe

> ---
>  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 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 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.