forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/drivers/clk/ti/adpll.c
....@@ -14,6 +14,7 @@
1414 #include <linux/clk-provider.h>
1515 #include <linux/delay.h>
1616 #include <linux/err.h>
17
+#include <linux/io.h>
1718 #include <linux/math64.h>
1819 #include <linux/module.h>
1920 #include <linux/of_device.h>
....@@ -489,7 +490,7 @@
489490
490491 static int ti_adpll_init_dco(struct ti_adpll_data *d)
491492 {
492
- struct clk_init_data init = {};
493
+ struct clk_init_data init;
493494 struct clk *clock;
494495 const char *postfix;
495496 int width, err;
....@@ -582,7 +583,7 @@
582583 struct clk *clk1)
583584 {
584585 struct ti_adpll_clkout_data *co;
585
- struct clk_init_data init = {};
586
+ struct clk_init_data init;
586587 struct clk_ops *ops;
587588 const char *parent_names[2];
588589 const char *child_name;
....@@ -607,7 +608,7 @@
607608
608609 init.name = child_name;
609610 init.ops = ops;
610
- init.flags = CLK_IS_BASIC;
611
+ init.flags = 0;
611612 co->hw.init = &init;
612613 parent_names[0] = __clk_get_name(clk0);
613614 parent_names[1] = __clk_get_name(clk1);