| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2011 Google, Inc. |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 5 | 6 | * Colin Cross <ccross@android.com> |
|---|
| 6 | 7 | * |
|---|
| 7 | 8 | * 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 | | - * |
|---|
| 18 | 9 | */ |
|---|
| 19 | 10 | |
|---|
| 20 | 11 | #include <linux/cpu_pm.h> |
|---|
| .. | .. |
|---|
| 27 | 18 | #include <linux/of.h> |
|---|
| 28 | 19 | #include <linux/syscore_ops.h> |
|---|
| 29 | 20 | |
|---|
| 21 | +#include <soc/tegra/irq.h> |
|---|
| 22 | + |
|---|
| 30 | 23 | #include "board.h" |
|---|
| 31 | 24 | #include "iomap.h" |
|---|
| 32 | | -#include "irq.h" |
|---|
| 33 | 25 | |
|---|
| 34 | 26 | #define SGI_MASK 0xFFFF |
|---|
| 35 | 27 | |
|---|
| .. | .. |
|---|
| 72 | 64 | { } |
|---|
| 73 | 65 | }; |
|---|
| 74 | 66 | |
|---|
| 75 | | -static void tegra114_gic_cpu_pm_registration(void) |
|---|
| 67 | +static void __init tegra114_gic_cpu_pm_registration(void) |
|---|
| 76 | 68 | { |
|---|
| 77 | 69 | struct device_node *dn; |
|---|
| 78 | 70 | |
|---|
| .. | .. |
|---|
| 85 | 77 | cpu_pm_register_notifier(&tegra_gic_notifier_block); |
|---|
| 86 | 78 | } |
|---|
| 87 | 79 | #else |
|---|
| 88 | | -static void tegra114_gic_cpu_pm_registration(void) { } |
|---|
| 80 | +static void __init tegra114_gic_cpu_pm_registration(void) { } |
|---|
| 89 | 81 | #endif |
|---|
| 90 | 82 | |
|---|
| 91 | 83 | static const struct of_device_id tegra_ictlr_match[] __initconst = { |
|---|