.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright 2011 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/init.h> |
---|
.. | .. |
---|
115 | 109 | |
---|
116 | 110 | np = of_find_compatible_node(NULL, NULL, "fsl,ls1021a-dcfg"); |
---|
117 | 111 | dcfg_base = of_iomap(np, 0); |
---|
| 112 | + of_node_put(np); |
---|
118 | 113 | BUG_ON(!dcfg_base); |
---|
119 | 114 | |
---|
120 | 115 | paddr = __pa_symbol(secondary_startup); |
---|