| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (c) 2014 MundoReader S.L. |
|---|
| 3 | 4 | * Author: Heiko Stuebner <heiko@sntech.de> |
|---|
| 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. |
|---|
| 14 | 5 | */ |
|---|
| 15 | 6 | |
|---|
| 16 | 7 | #include <linux/slab.h> |
|---|
| .. | .. |
|---|
| 86 | 77 | .deassert = rockchip_softrst_deassert, |
|---|
| 87 | 78 | }; |
|---|
| 88 | 79 | |
|---|
| 89 | | -void __init rockchip_register_softrst(struct device_node *np, |
|---|
| 90 | | - unsigned int num_regs, |
|---|
| 91 | | - void __iomem *base, u8 flags) |
|---|
| 80 | +void rockchip_register_softrst(struct device_node *np, |
|---|
| 81 | + unsigned int num_regs, |
|---|
| 82 | + void __iomem *base, u8 flags) |
|---|
| 92 | 83 | { |
|---|
| 93 | 84 | struct rockchip_softrst *softrst; |
|---|
| 94 | 85 | int ret; |
|---|
| .. | .. |
|---|
| 116 | 107 | kfree(softrst); |
|---|
| 117 | 108 | } |
|---|
| 118 | 109 | }; |
|---|
| 110 | +EXPORT_SYMBOL_GPL(rockchip_register_softrst); |
|---|