.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | | - * This program is free software; you can redistribute it and/or modify |
---|
3 | | - * it under the terms of the GNU General Public License version 2 as |
---|
4 | | - * published by the Free Software Foundation. |
---|
5 | | - * |
---|
6 | | - * This program is distributed in the hope that it will be useful, |
---|
7 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
8 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
9 | | - * GNU General Public License for more details. |
---|
10 | 3 | * |
---|
11 | 4 | * Copyright (C) 2013 ARM Limited |
---|
12 | 5 | */ |
---|
.. | .. |
---|
16 | 9 | #include <linux/clk.h> |
---|
17 | 10 | #include <linux/clk-provider.h> |
---|
18 | 11 | #include <linux/err.h> |
---|
| 12 | +#include <linux/io.h> |
---|
19 | 13 | #include <linux/of.h> |
---|
20 | 14 | #include <linux/of_address.h> |
---|
21 | 15 | |
---|
.. | .. |
---|
91 | 85 | const char *parent_names[2]; |
---|
92 | 86 | int num = ARRAY_SIZE(parent_names); |
---|
93 | 87 | char name[12]; |
---|
94 | | - struct clk_init_data init = {}; |
---|
| 88 | + struct clk_init_data init; |
---|
95 | 89 | static int instance; |
---|
96 | 90 | int i; |
---|
97 | 91 | bool deprecated; |
---|
.. | .. |
---|
111 | 105 | |
---|
112 | 106 | init.name = name; |
---|
113 | 107 | init.ops = &clk_sp810_timerclken_ops; |
---|
114 | | - init.flags = CLK_IS_BASIC; |
---|
| 108 | + init.flags = 0; |
---|
115 | 109 | init.parent_names = parent_names; |
---|
116 | 110 | init.num_parents = num; |
---|
117 | 111 | |
---|