summaryrefslogtreecommitdiff
path: root/drivers/clk/sunxi/clk_a31.c
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2021-09-12 11:48:43 -0500
committerAndre Przywara <andre.przywara@arm.com>2021-10-11 10:46:44 +0100
commit21d314a6612564ee202d8a8189ed37d5c6abf0dd (patch)
tree9bddefc0059714ceaa09d1584ca7a149d3b1bc9b /drivers/clk/sunxi/clk_a31.c
parent5427da02bebb3a375f11a5623dea07993ea0d555 (diff)
downloadu-boot-21d314a6612564ee202d8a8189ed37d5c6abf0dd.tar.gz
clk: sunxi: Move header out of arch directory
The CCU header is only used by the DM drivers, not any platform code. Its current location adds an artificial dependency on CONFIG_ARM and ARCH_SUNXI, which will be problematic when adding the CCU driver for a RISC-V sunxi platform. Signed-off-by: Samuel Holland <samuel@sholland.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'drivers/clk/sunxi/clk_a31.c')
-rw-r--r--drivers/clk/sunxi/clk_a31.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/sunxi/clk_a31.c b/drivers/clk/sunxi/clk_a31.c
index 9226112f4a..28ff82108e 100644
--- a/drivers/clk/sunxi/clk_a31.c
+++ b/drivers/clk/sunxi/clk_a31.c
@@ -8,7 +8,7 @@
#include <clk-uclass.h>
#include <dm.h>
#include <errno.h>
-#include <asm/arch/ccu.h>
+#include <clk/sunxi.h>
#include <dt-bindings/clock/sun6i-a31-ccu.h>
#include <dt-bindings/reset/sun6i-a31-ccu.h>
#include <linux/bitops.h>