diff options
author | Samuel Holland <samuel@sholland.org> | 2022-12-31 17:14:25 -0600 |
---|---|---|
committer | Jernej Skrabec <jernej.skrabec@gmail.com> | 2023-01-08 22:06:10 +0100 |
commit | 0ff347db4c97cc16b4e428dc1db550ba3628f1e2 (patch) | |
tree | 6286118a9ef0b9c935905c6941cbe9065d2427ff /drivers/clk/sunxi-ng/ccu_gate.c | |
parent | a26dc096f683ca27ac5e68703bfd3098b4212abd (diff) |
clk: sunxi-ng: Move SoC driver conditions to dependencies
Do not duplicate the same expression on the `default` line, so the two
lines do not need to be kept in sync. Drivers stay disabled under
COMPILE_TEST because of the `default ARCH_SUNXI` applied to SUNXI_CCU.
Three drivers had no conditions.
- SUN6I_RTC_CCU and SUN8I_DE2_CCU are used on current hardware
regardless of CPU architecture.
- SUN8I_R_CCU is only used on pre-H6 SoCs, which means no RISCV SoCs.
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Link: https://lore.kernel.org/r/20221231231429.18357-3-samuel@sholland.org
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Diffstat (limited to 'drivers/clk/sunxi-ng/ccu_gate.c')
0 files changed, 0 insertions, 0 deletions