diff options
author | Samuel Holland <samuel@sholland.org> | 2021-09-12 11:48:43 -0500 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2021-10-11 10:46:44 +0100 |
commit | 21d314a6612564ee202d8a8189ed37d5c6abf0dd (patch) | |
tree | 9bddefc0059714ceaa09d1584ca7a149d3b1bc9b /drivers/reset | |
parent | 5427da02bebb3a375f11a5623dea07993ea0d555 (diff) | |
download | u-boot-21d314a6612564ee202d8a8189ed37d5c6abf0dd.tar.gz u-boot-21d314a6612564ee202d8a8189ed37d5c6abf0dd.tar.bz2 u-boot-21d314a6612564ee202d8a8189ed37d5c6abf0dd.zip |
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/reset')
-rw-r--r-- | drivers/reset/reset-sunxi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/reset-sunxi.c b/drivers/reset/reset-sunxi.c index 264337ed80..8b95938dfe 100644 --- a/drivers/reset/reset-sunxi.c +++ b/drivers/reset/reset-sunxi.c @@ -11,11 +11,11 @@ #include <malloc.h> #include <reset-uclass.h> #include <asm/io.h> +#include <clk/sunxi.h> #include <dm/device-internal.h> #include <dm/lists.h> #include <linux/bitops.h> #include <linux/log2.h> -#include <asm/arch/ccu.h> struct sunxi_reset_priv { void *base; |