X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=drivers%2Fclk%2Frockchip%2Fclk_rk3036.c;h=274572f70c14ef39cbc14316bd540cb1848970af;hb=c05ed00afb95fa5237f16962fccf5810437317bf;hp=5e11318042dc21fad837133e641b4bc3e603cf75;hpb=ec37f05ec0a999e0bd79f87354716df6f9bc074d;p=oweals%2Fu-boot.git diff --git a/drivers/clk/rockchip/clk_rk3036.c b/drivers/clk/rockchip/clk_rk3036.c index 5e11318042..274572f70c 100644 --- a/drivers/clk/rockchip/clk_rk3036.c +++ b/drivers/clk/rockchip/clk_rk3036.c @@ -1,23 +1,24 @@ +// SPDX-License-Identifier: GPL-2.0 /* * (C) Copyright 2015 Google, Inc - * - * SPDX-License-Identifier: GPL-2.0 */ #include #include #include #include +#include +#include #include #include -#include -#include -#include +#include +#include +#include #include #include +#include #include - -DECLARE_GLOBAL_DATA_PTR; +#include enum { VCO_MAX_HZ = 2400U * 1000000, @@ -355,7 +356,7 @@ static int rk3036_clk_bind(struct udevice *dev) sys_child->priv = priv; } -#if CONFIG_IS_ENABLED(CONFIG_RESET_ROCKCHIP) +#if CONFIG_IS_ENABLED(RESET_ROCKCHIP) ret = offsetof(struct rk3036_cru, cru_softrst_con[0]); ret = rockchip_reset_bind(dev, ret, 9); if (ret)