tweak R_CCU patch according to Icenowy comments on IRC

This commit is contained in:
Martin Ayotte 2017-04-27 14:06:36 -04:00
parent b06ff88e1e
commit f80cc45202

View file

@ -58,7 +58,7 @@ index 000000000000..0d027d53dbdf
+ +
+#include "ccu-sun8i-r.h" +#include "ccu-sun8i-r.h"
+ +
+static const char * const ar100_parents[] = { "osc32k", "osc24M", +static const char * const ar100_parents[] = { "osc32K", "osc24M",
+ "pll-periph0", "iosc" }; + "pll-periph0", "iosc" };
+ +
+static struct ccu_div ar100_clk = { +static struct ccu_div ar100_clk = {
@ -274,7 +274,7 @@ index 000000000000..eaa431fd1d8f
+#define CLK_AHB0 1 +#define CLK_AHB0 1
+#define CLK_APB0 2 +#define CLK_APB0 2
+ +
+#define CLK_NUMBER (CLK_APB0_TWD + 1) +#define CLK_NUMBER (CLK_IR + 1)
+ +
+#endif /* _CCU_SUN8I_R_H */ +#endif /* _CCU_SUN8I_R_H */
diff --git a/include/dt-bindings/clock/sun8i-r-ccu.h b/include/dt-bindings/clock/sun8i-r-ccu.h diff --git a/include/dt-bindings/clock/sun8i-r-ccu.h b/include/dt-bindings/clock/sun8i-r-ccu.h