forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 61598093bbdd283a7edc367d900f223070ead8d2
kernel/arch/arm/mach-tegra/irq.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright (C) 2011 Google, Inc.
34 *
....@@ -5,16 +6,6 @@
56 * Colin Cross <ccross@android.com>
67 *
78 * Copyright (C) 2010,2013, NVIDIA Corporation
8
- *
9
- * This software is licensed under the terms of the GNU General Public
10
- * License version 2, as published by the Free Software Foundation, and
11
- * may be copied, distributed, and modified under those terms.
12
- *
13
- * This program is distributed in the hope that it will be useful,
14
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
- * GNU General Public License for more details.
17
- *
189 */
1910
2011 #include <linux/cpu_pm.h>
....@@ -27,9 +18,10 @@
2718 #include <linux/of.h>
2819 #include <linux/syscore_ops.h>
2920
21
+#include <soc/tegra/irq.h>
22
+
3023 #include "board.h"
3124 #include "iomap.h"
32
-#include "irq.h"
3325
3426 #define SGI_MASK 0xFFFF
3527
....@@ -72,7 +64,7 @@
7264 { }
7365 };
7466
75
-static void tegra114_gic_cpu_pm_registration(void)
67
+static void __init tegra114_gic_cpu_pm_registration(void)
7668 {
7769 struct device_node *dn;
7870
....@@ -85,7 +77,7 @@
8577 cpu_pm_register_notifier(&tegra_gic_notifier_block);
8678 }
8779 #else
88
-static void tegra114_gic_cpu_pm_registration(void) { }
80
+static void __init tegra114_gic_cpu_pm_registration(void) { }
8981 #endif
9082
9183 static const struct of_device_id tegra_ictlr_match[] __initconst = {