Skip to contentSkip to conversation

mmc: dw_mmc should depend on COMMON_CLK

PATCH Applied Corentin Labbe 4 participants 5 messages Jun 6, 2018 – Jul 2, 2018 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmc: dw_mmc should depend on COMMON_CLK

This patch fix the following build failure on m68k:
ERROR: "clk_set_rate" [drivers/mmc/host/dw_mmc.ko] undefined!

---
 drivers/mmc/host/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/Kconfig +1 -1
index 0581c199c996..77d6ba090436 100644
@@ -666,7 +666,7 @@ config MMC_CAVIUM_THUNDERX
 
 config MMC_DW
 	tristate "Synopsys DesignWare Memory Card Interface"
-	depends on ARC || ARM || ARM64 || MIPS || COMPILE_TEST
+	depends on COMMON_CLK && (ARC || ARM || ARM64 || MIPS || COMPILE_TEST)
 	help
 	  This selects support for the Synopsys DesignWare Mobile Storage IP
 	  block, this provides host support for SD and MMC interfaces, in both
Signature · 1 line
2.16.4
#1 lore raw

+Cc: Geert

Quoted 24 lines · Corentin Labbe

This patch fix the following build failure on m68k:
ERROR: "clk_set_rate" [drivers/mmc/host/dw_mmc.ko] undefined!

---
 drivers/mmc/host/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/Kconfig +1 -2
index 0581c199c996..77d6ba090436 100644
@@ -666,7 +666,7 @@ config MMC_CAVIUM_THUNDERX
 
 config MMC_DW
        tristate "Synopsys DesignWare Memory Card Interface"
-       depends on ARC || ARM || ARM64 || MIPS || COMPILE_TEST
+       depends on COMMON_CLK && (ARC || ARM || ARM64 || MIPS || COMPILE_TEST)
        help
          This selects support for the Synopsys DesignWare Mobile Storage IP
          block, this provides host support for SD and MMC interfaces, in both
--

2.16.4

Signature · 2 lines
With Best Regards,
Andy Shevchenko
Applied
#2 lore raw
In reply to Corentin Labbe
Quoted 4 lines · Corentin Labbe

This patch fix the following build failure on m68k:
ERROR: "clk_set_rate" [drivers/mmc/host/dw_mmc.ko] undefined!

Thanks, applied for next!

Kind regards
Uffe

Quoted 20 lines
---
 drivers/mmc/host/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/Kconfig +1 -2
index 0581c199c996..77d6ba090436 100644
@@ -666,7 +666,7 @@ config MMC_CAVIUM_THUNDERX
 
 config MMC_DW
        tristate "Synopsys DesignWare Memory Card Interface"
-       depends on ARC || ARM || ARM64 || MIPS || COMPILE_TEST
+       depends on COMMON_CLK && (ARC || ARM || ARM64 || MIPS || COMPILE_TEST)
        help
          This selects support for the Synopsys DesignWare Mobile Storage IP
          block, this provides host support for SD and MMC interfaces, in both
--

2.16.4

#3 lore raw

Hi Ulf,

Quoted 7 lines · Ulf Hansson
Quoted 4 lines · Corentin Labbe

This patch fix the following build failure on m68k:
ERROR: "clk_set_rate" [drivers/mmc/host/dw_mmc.ko] undefined!

Thanks, applied for next!

Please drop this patch, I posted proper fixes for this general issue in series "[PATCH 0/3] Legacy clock drivers: Normalize clk API"
(https://lkml.org/lkml/2018/6/11/122).

All fixes above are already in next-20180702.
Thanks!

Quoted 10 lines
Quoted 10 lines
---
 drivers/mmc/host/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/Kconfig +0 -0
index 0581c199c996..77d6ba090436 100644
@@ -666,7 +666,7 @@ config MMC_CAVIUM_THUNDERX
 
Quoted 7 lines

drivers/mmc/host/Kconfig config MMC_CAVIUM_THUNDERX · line 672

Quoted 7 lines
drivers/mmc/host/Kconfig +1 -1
 config MMC_DW
        tristate "Synopsys DesignWare Memory Card Interface"
-       depends on ARC || ARM || ARM64 || MIPS || COMPILE_TEST
+       depends on COMMON_CLK && (ARC || ARM || ARM64 || MIPS || COMPILE_TEST)
        help
          This selects support for the Synopsys DesignWare Mobile Storage IP
          block, this provides host support for SD and MMC interfaces, in both

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
#4 lore raw
Quoted 9 lines · Geert Uytterhoeven

Hi Ulf,

Quoted 6 lines · Ulf Hansson
Quoted 4 lines · Corentin Labbe

This patch fix the following build failure on m68k:
ERROR: "clk_set_rate" [drivers/mmc/host/dw_mmc.ko] undefined!

Quoted 8 lines
Quoted 1 line

Thanks, applied for next!

Please drop this patch, I posted proper fixes for this general issue in series "[PATCH 0/3] Legacy clock drivers: Normalize clk API"
(https://lkml.org/lkml/2018/6/11/122).

All fixes above are already in next-20180702.
Thanks!

Thanks for letting me know, patch dropped!

I had the feeling there was a better way. :-)

[...]

Kind regards
Uffe