hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/clk/uniphier/clk-uniphier-fixed-rate.c
....@@ -1,16 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Copyright (C) 2016 Socionext Inc.
34 * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
4
- *
5
- * This program is free software; you can redistribute it and/or modify
6
- * it under the terms of the GNU General Public License as published by
7
- * the Free Software Foundation; either version 2 of the License, or
8
- * (at your option) any later version.
9
- *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU General Public License for more details.
145 */
156
167 #include <linux/clk-provider.h>
....@@ -23,7 +14,7 @@
2314 const struct uniphier_clk_fixed_rate_data *data)
2415 {
2516 struct clk_fixed_rate *fixed;
26
- struct clk_init_data init = {};
17
+ struct clk_init_data init;
2718 int ret;
2819
2920 /* allocate fixed-rate clock */
....@@ -33,6 +24,7 @@
3324
3425 init.name = name;
3526 init.ops = &clk_fixed_rate_ops;
27
+ init.flags = 0;
3628 init.parent_names = NULL;
3729 init.num_parents = 0;
3830