.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright 2011-2013 Freescale Semiconductor, Inc. |
---|
3 | 4 | * Copyright 2011 Linaro Ltd. |
---|
4 | | - * |
---|
5 | | - * The code contained herein is licensed under the GNU General Public |
---|
6 | | - * License. You may obtain a copy of the GNU General Public License |
---|
7 | | - * Version 2 or later at the following locations: |
---|
8 | | - * |
---|
9 | | - * http://www.opensource.org/licenses/gpl-license.html |
---|
10 | | - * http://www.gnu.org/copyleft/gpl.html |
---|
11 | 5 | */ |
---|
12 | 6 | |
---|
13 | 7 | #include <linux/io.h> |
---|
.. | .. |
---|
16 | 10 | #include <linux/of.h> |
---|
17 | 11 | #include <linux/of_address.h> |
---|
18 | 12 | #include <linux/of_irq.h> |
---|
19 | | -#include <linux/irqchip/arm-gic.h> |
---|
| 13 | + |
---|
20 | 14 | #include "common.h" |
---|
21 | 15 | #include "hardware.h" |
---|
22 | 16 | |
---|
.. | .. |
---|
117 | 111 | gpc_saved_imrs[i] = readl_relaxed(reg_imr1 + i * 4); |
---|
118 | 112 | writel_relaxed(~0, reg_imr1 + i * 4); |
---|
119 | 113 | } |
---|
120 | | - |
---|
121 | 114 | } |
---|
122 | 115 | |
---|
123 | 116 | void imx_gpc_restore_all(void) |
---|
.. | .. |
---|
288 | 281 | /* map GPC, so that at least CPUidle and WARs keep working */ |
---|
289 | 282 | gpc_base = of_iomap(np, 0); |
---|
290 | 283 | } |
---|
| 284 | + of_node_put(np); |
---|
291 | 285 | } |
---|