Skip to content

Commit b998b75

Browse files
jernejskmripard
authored andcommitted
clk: sunxi-ng: sun8i-de2: Sort structures
V3s quirks are not in right place. Move it. Signed-off-by: Jernej Skrabec <[email protected]> Signed-off-by: Maxime Ripard <[email protected]>
1 parent 11d0c43 commit b998b75

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

drivers/clk/sunxi-ng/ccu-sun8i-de2.c

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,16 @@ static const struct sunxi_ccu_desc sun8i_r40_de2_clk_desc = {
248248
.num_resets = ARRAY_SIZE(sun8i_a83t_de2_resets),
249249
};
250250

251+
static const struct sunxi_ccu_desc sun8i_v3s_de2_clk_desc = {
252+
.ccu_clks = sun8i_v3s_de2_clks,
253+
.num_ccu_clks = ARRAY_SIZE(sun8i_v3s_de2_clks),
254+
255+
.hw_clks = &sun8i_v3s_de2_hw_clks,
256+
257+
.resets = sun8i_a83t_de2_resets,
258+
.num_resets = ARRAY_SIZE(sun8i_a83t_de2_resets),
259+
};
260+
251261
static const struct sunxi_ccu_desc sun50i_a64_de2_clk_desc = {
252262
.ccu_clks = sun50i_a64_de2_clks,
253263
.num_ccu_clks = ARRAY_SIZE(sun50i_a64_de2_clks),
@@ -268,16 +278,6 @@ static const struct sunxi_ccu_desc sun50i_h5_de2_clk_desc = {
268278
.num_resets = ARRAY_SIZE(sun50i_h5_de2_resets),
269279
};
270280

271-
static const struct sunxi_ccu_desc sun8i_v3s_de2_clk_desc = {
272-
.ccu_clks = sun8i_v3s_de2_clks,
273-
.num_ccu_clks = ARRAY_SIZE(sun8i_v3s_de2_clks),
274-
275-
.hw_clks = &sun8i_v3s_de2_hw_clks,
276-
277-
.resets = sun8i_h3_de2_resets,
278-
.num_resets = ARRAY_SIZE(sun8i_h3_de2_resets),
279-
};
280-
281281
static int sunxi_de2_clk_probe(struct platform_device *pdev)
282282
{
283283
struct resource *res;

0 commit comments

Comments
 (0)