clk: meson: Kconfig: fix dependency for G12A
authorKevin Hilman <khilman@baylibre.com>
Wed, 18 Nov 2020 19:09:30 +0000 (11:09 -0800)
committerJerome Brunet <jbrunet@baylibre.com>
Mon, 23 Nov 2020 08:08:22 +0000 (09:08 +0100)
When building only G12A, ensure that VID_PLL_DIV clock driver is
selected, otherwise results in this build error:

ERROR: modpost: "meson_vid_pll_div_ro_ops" [drivers/clk/meson/g12a.ko] undefined!

Fixes: 085a4ea93d54 ("clk: meson: g12a: add peripheral clock controller")
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20201118190930.34352-1-khilman@baylibre.com
drivers/clk/meson/Kconfig

index 034da20..9a8a548 100644 (file)
@@ -110,6 +110,7 @@ config COMMON_CLK_G12A
        select COMMON_CLK_MESON_AO_CLKC
        select COMMON_CLK_MESON_EE_CLKC
        select COMMON_CLK_MESON_CPU_DYNDIV
+       select COMMON_CLK_MESON_VID_PLL_DIV
        select MFD_SYSCON
        help
          Support for the clock controller on Amlogic S905D2, S905X2 and S905Y2