diff mbox series

mmc: jz4740: Drop dependency on MACH_JZ4740/80

Message ID 20180821130320.1682-1-paul@crapouillou.net (mailing list archive)
State New, archived
Headers show
Series mmc: jz4740: Drop dependency on MACH_JZ4740/80 | expand

Commit Message

Paul Cercueil Aug. 21, 2018, 1:03 p.m. UTC
Depending on MACH_JZ4740 | MACH_JZ4780 prevent us from creating a generic
kernel that works on more than one MIPS board. Instead, we just depend on
MIPS being set.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
 drivers/mmc/host/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ulf Hansson Aug. 22, 2018, 9:48 a.m. UTC | #1
On 21 August 2018 at 15:03, Paul Cercueil <paul@crapouillou.net> wrote:
> Depending on MACH_JZ4740 | MACH_JZ4780 prevent us from creating a generic
> kernel that works on more than one MIPS board. Instead, we just depend on
> MIPS being set.
>
> Signed-off-by: Paul Cercueil <paul@crapouillou.net>

Thanks, queued for v4.20!

Kind regards
Uffe

> ---
>  drivers/mmc/host/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
> index 0581c199c996..71d9bdc52422 100644
> --- a/drivers/mmc/host/Kconfig
> +++ b/drivers/mmc/host/Kconfig
> @@ -761,7 +761,7 @@ config MMC_SH_MMCIF
>
>  config MMC_JZ4740
>         tristate "Ingenic JZ47xx SD/Multimedia Card Interface support"
> -       depends on MACH_JZ4740 || MACH_JZ4780
> +       depends on MIPS
>         help
>           This selects support for the SD/MMC controller on Ingenic
>           JZ4740, JZ4750, JZ4770 and JZ4780 SoCs.
> --
> 2.11.0
>
diff mbox series

Patch

diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index 0581c199c996..71d9bdc52422 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -761,7 +761,7 @@  config MMC_SH_MMCIF
 
 config MMC_JZ4740
 	tristate "Ingenic JZ47xx SD/Multimedia Card Interface support"
-	depends on MACH_JZ4740 || MACH_JZ4780
+	depends on MIPS
 	help
 	  This selects support for the SD/MMC controller on Ingenic
 	  JZ4740, JZ4750, JZ4770 and JZ4780 SoCs.