hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/arm/mach-imx/platsmp.c
....@@ -1,13 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Copyright 2011 Freescale Semiconductor, Inc.
34 * 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
115 */
126
137 #include <linux/init.h>
....@@ -115,6 +109,7 @@
115109
116110 np = of_find_compatible_node(NULL, NULL, "fsl,ls1021a-dcfg");
117111 dcfg_base = of_iomap(np, 0);
112
+ of_node_put(np);
118113 BUG_ON(!dcfg_base);
119114
120115 paddr = __pa_symbol(secondary_startup);