forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 61598093bbdd283a7edc367d900f223070ead8d2
kernel/drivers/clk/h8300/clk-h8s2678.c
....@@ -6,8 +6,9 @@
66 */
77
88 #include <linux/clk-provider.h>
9
-#include <linux/err.h>
109 #include <linux/device.h>
10
+#include <linux/io.h>
11
+#include <linux/err.h>
1112 #include <linux/of_address.h>
1213 #include <linux/slab.h>
1314
....@@ -88,7 +89,7 @@
8889 const char *clk_name = node->name;
8990 const char *parent_name;
9091 struct pll_clock *pll_clock;
91
- struct clk_init_data init = {};
92
+ struct clk_init_data init;
9293 int ret;
9394
9495 num_parents = of_clk_get_parent_count(node);
....@@ -117,7 +118,7 @@
117118 parent_name = of_clk_get_parent_name(node, 0);
118119 init.name = clk_name;
119120 init.ops = &pll_ops;
120
- init.flags = CLK_IS_BASIC;
121
+ init.flags = 0;
121122 init.parent_names = &parent_name;
122123 init.num_parents = 1;
123124 pll_clock->hw.init = &init;