summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/common.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2016-04-28 14:50:14 +0200
committerThierry Reding <treding@nvidia.com>2016-06-10 16:17:58 +0200
commit5c753e0439a33840f1a9ca41fbee1bd40f60d7d8 (patch)
treee93ec903959a89a52b721da76e342369ed2970ed /arch/arm/mach-tegra/common.h
parentLinux 4.7-rc1 (diff)
downloadlinux-5c753e0439a33840f1a9ca41fbee1bd40f60d7d8.tar.xz
linux-5c753e0439a33840f1a9ca41fbee1bd40f60d7d8.zip
ARM: tegra: hotplug: Include missing common.h
Some of the functions implemented are flagged as not having a prototype defined when building with W=1. Include the header to avoid these build warnings. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/common.h')
-rw-r--r--arch/arm/mach-tegra/common.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/common.h b/arch/arm/mach-tegra/common.h
index 1f6fb808e236..4cc00e993b00 100644
--- a/arch/arm/mach-tegra/common.h
+++ b/arch/arm/mach-tegra/common.h
@@ -1,4 +1,26 @@
+/*
+ * Copyright (c) 2011, ARM Ltd.
+ * Copyright (c) 2013, NVIDIA Corporation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms and conditions of the GNU General Public License,
+ * version 2, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef __MACH_TEGRA_COMMON_H
+#define __MACH_TEGRA_COMMON_H
+
extern const struct smp_operations tegra_smp_ops;
extern int tegra_cpu_kill(unsigned int cpu);
extern void tegra_cpu_die(unsigned int cpu);
+
+#endif