clk: sunxi-ng: Add machine dependency to A83T CCU
authorSamuel Holland <samuel@sholland.org>
Thu, 2 Sep 2021 23:02:00 +0000 (18:02 -0500)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 13 Sep 2021 07:03:20 +0000 (09:03 +0200)
The CCUs for all other 32-bit SoCs have a dependency on a specific
MACH_SUNxI symbol. This effectively hides these drivers when building
an ARCH=arm64 kernel. However, the A83T CCU still shows up because it
is missing this dependency. Let's add it for consistency.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20210902230200.29574-1-samuel@sholland.org
drivers/clk/sunxi-ng/Kconfig

index cd46d8853876cee54d82e1b9e316e441542a5de4..e76e1676f0f036c11aaf736e592333bc588cd314 100644 (file)
@@ -71,6 +71,7 @@ config SUN8I_A33_CCU
 config SUN8I_A83T_CCU
        bool "Support for the Allwinner A83T CCU"
        default MACH_SUN8I
+       depends on MACH_SUN8I || COMPILE_TEST
 
 config SUN8I_H3_CCU
        bool "Support for the Allwinner H3 CCU"