.. | .. |
---|
6 | 6 | */ |
---|
7 | 7 | |
---|
8 | 8 | #include <linux/clk-provider.h> |
---|
9 | | -#include <linux/err.h> |
---|
10 | 9 | #include <linux/device.h> |
---|
| 10 | +#include <linux/io.h> |
---|
| 11 | +#include <linux/err.h> |
---|
11 | 12 | #include <linux/of_address.h> |
---|
12 | 13 | #include <linux/slab.h> |
---|
13 | 14 | |
---|
.. | .. |
---|
88 | 89 | const char *clk_name = node->name; |
---|
89 | 90 | const char *parent_name; |
---|
90 | 91 | struct pll_clock *pll_clock; |
---|
91 | | - struct clk_init_data init = {}; |
---|
| 92 | + struct clk_init_data init; |
---|
92 | 93 | int ret; |
---|
93 | 94 | |
---|
94 | 95 | num_parents = of_clk_get_parent_count(node); |
---|
.. | .. |
---|
117 | 118 | parent_name = of_clk_get_parent_name(node, 0); |
---|
118 | 119 | init.name = clk_name; |
---|
119 | 120 | init.ops = &pll_ops; |
---|
120 | | - init.flags = CLK_IS_BASIC; |
---|
| 121 | + init.flags = 0; |
---|
121 | 122 | init.parent_names = &parent_name; |
---|
122 | 123 | init.num_parents = 1; |
---|
123 | 124 | pll_clock->hw.init = &init; |
---|