soc: amlogic: meson-clk-measure: Add missing REGMAP_MMIO dependency
authorCorentin Labbe <clabbe@baylibre.com>
Mon, 10 Dec 2018 19:45:55 +0000 (19:45 +0000)
committerKevin Hilman <khilman@baylibre.com>
Mon, 10 Dec 2018 20:16:22 +0000 (12:16 -0800)
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>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
drivers/soc/amlogic/Kconfig

index 36633bb6c8bb8707f950a0f601c80a566942721f..5501ad5650b23c839eef5cb82c6e306a12f9109d 100644 (file)
@@ -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.