| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (c) 2014 Linaro Ltd. |
|---|
| 3 | 4 | * Copyright (c) 2014 Hisilicon Limited. |
|---|
| 4 | | - * |
|---|
| 5 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 6 | | - * under the terms and conditions of the GNU General Public License, |
|---|
| 7 | | - * version 2, as published by the Free Software Foundation. |
|---|
| 8 | 5 | */ |
|---|
| 9 | 6 | |
|---|
| 10 | 7 | #include <linux/of_address.h> |
|---|
| .. | .. |
|---|
| 262 | 259 | for (i = 0; i < nums; i++) { |
|---|
| 263 | 260 | struct hix5hd2_clk_complex *p_clk; |
|---|
| 264 | 261 | struct clk *clk; |
|---|
| 265 | | - struct clk_init_data init = {}; |
|---|
| 262 | + struct clk_init_data init; |
|---|
| 266 | 263 | |
|---|
| 267 | 264 | p_clk = kzalloc(sizeof(*p_clk), GFP_KERNEL); |
|---|
| 268 | 265 | if (!p_clk) |
|---|
| .. | .. |
|---|
| 274 | 271 | else |
|---|
| 275 | 272 | init.ops = &clk_complex_ops; |
|---|
| 276 | 273 | |
|---|
| 277 | | - init.flags = CLK_IS_BASIC; |
|---|
| 274 | + init.flags = 0; |
|---|
| 278 | 275 | init.parent_names = |
|---|
| 279 | 276 | (clks[i].parent_name ? &clks[i].parent_name : NULL); |
|---|
| 280 | 277 | init.num_parents = (clks[i].parent_name ? 1 : 0); |
|---|