diff mbox series

[2/2] soc: amlogic: meson-clk-measure: Add missing REGMAP_MMIO dependency

Message ID 1544471155-26661-2-git-send-email-clabbe@baylibre.com (mailing list archive)
State Accepted
Commit f56c06271c1c3caef9c7ef200e3d89967fd98a8e
Headers show
Series [1/2] MAINTAINERS: add driver/soc/amlogic/ to amlogic list | expand

Commit Message

Corentin LABBE Dec. 10, 2018, 7:45 p.m. UTC
This patchs adds a missing dependency on REGMAP_MMIO.
This cause the following build failure on SPARC:
drivers/soc/amlogic/meson-clk-measure.o: In function `meson_msr_probe':
meson-clk-measure.c:(.text+0xc4): undefined reference to `__devm_regmap_init_mmio_clk'

Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
---
 drivers/soc/amlogic/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Kevin Hilman Dec. 10, 2018, 9:17 p.m. UTC | #1
Corentin Labbe <clabbe@baylibre.com> writes:

> This patchs adds a missing dependency on REGMAP_MMIO.
> This cause the following build failure on SPARC:
> drivers/soc/amlogic/meson-clk-measure.o: In function `meson_msr_probe':
> meson-clk-measure.c:(.text+0xc4): undefined reference to `__devm_regmap_init_mmio_clk'
>
> Signed-off-by: Corentin Labbe <clabbe@baylibre.com>

now queued for v4.21 (branch drivers)

Kevin
diff mbox series

Patch

diff --git a/drivers/soc/amlogic/Kconfig b/drivers/soc/amlogic/Kconfig
index 36633bb..5501ad5 100644
--- a/drivers/soc/amlogic/Kconfig
+++ b/drivers/soc/amlogic/Kconfig
@@ -11,6 +11,7 @@  config MESON_CLK_MEASURE
 	bool "Amlogic Meson SoC Clock Measure driver"
 	depends on ARCH_MESON || COMPILE_TEST
 	default ARCH_MESON
+	select REGMAP_MMIO
 	help
 	  Say yes to support of Measuring a set of internal SoC clocks
 	  from the debugfs interface.