| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Hisilicon Hi6220 clock driver |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (c) 2015 Hisilicon Limited. |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * Author: Bintian Wang <bintian.wang@huawei.com> |
|---|
| 7 | | - * |
|---|
| 8 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 9 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 10 | | - * published by the Free Software Foundation. |
|---|
| 11 | 8 | */ |
|---|
| 12 | 9 | |
|---|
| 13 | 10 | #include <linux/kernel.h> |
|---|
| .. | .. |
|---|
| 89 | 86 | hisi_clk_register_gate_sep(hi6220_separated_gate_clks_ao, |
|---|
| 90 | 87 | ARRAY_SIZE(hi6220_separated_gate_clks_ao), clk_data_ao); |
|---|
| 91 | 88 | } |
|---|
| 92 | | -CLK_OF_DECLARE(hi6220_clk_ao, "hisilicon,hi6220-aoctrl", hi6220_clk_ao_init); |
|---|
| 89 | +/* Allow reset driver to probe as well */ |
|---|
| 90 | +CLK_OF_DECLARE_DRIVER(hi6220_clk_ao, "hisilicon,hi6220-aoctrl", hi6220_clk_ao_init); |
|---|
| 93 | 91 | |
|---|
| 94 | 92 | |
|---|
| 95 | 93 | /* clocks in sysctrl */ |
|---|