clk: meson: Kconfig: fix dependency for G12A
authorKevin Hilman <khilman@baylibre.com>
Wed, 18 Nov 2020 19:09:30 +0000 (11:09 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Dec 2020 10:53:19 +0000 (11:53 +0100)
commit47324dbd56807af02febeff1bed48748bfce4dca
tree0d4a54699346d8ba06ce03ad46dc0537bf532bc8
parent0e8d632e41622e7ffe2c71a5d356fb5f9105e315
clk: meson: Kconfig: fix dependency for G12A

[ Upstream commit bae69bfa3a586493469078ec4ca35499b754ba5c ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/meson/Kconfig