summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/reset.c
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-06-18 15:01:50 -0600
committerOlof Johansson <olof@lixom.net>2012-06-18 16:42:57 -0700
commit6355f25ed965421725d92cf719fc63008690ca1c (patch)
tree58e1184d3f2bdf3810c48c4a1d6f77436d2782d8 /arch/arm/mach-tegra/reset.c
parent22cec7ca02f81b57a06d238a4043bc6c9ba6ea03 (diff)
downloadlwn-6355f25ed965421725d92cf719fc63008690ca1c.tar.gz
lwn-6355f25ed965421725d92cf719fc63008690ca1c.zip
ARM: tegra: make tegra_cpu_reset_handler_enable() __init
This solves a section mismatch warning. I hadn't noticed this before, because my compiler was inlining tegra_cpu_reset_handler_enable() inside tegra_cpu_reset_handler_init(), which is already __init, but I switched compilers and it stopped doing that. Cc: <stable@kernel.org> # v3.4 Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-tegra/reset.c')
-rw-r--r--arch/arm/mach-tegra/reset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/reset.c b/arch/arm/mach-tegra/reset.c
index 4d6a2ee99c3b..5beb7ebe2948 100644
--- a/arch/arm/mach-tegra/reset.c
+++ b/arch/arm/mach-tegra/reset.c
@@ -33,7 +33,7 @@
static bool is_enabled;
-static void tegra_cpu_reset_handler_enable(void)
+static void __init tegra_cpu_reset_handler_enable(void)
{
void __iomem *iram_base = IO_ADDRESS(TEGRA_IRAM_RESET_BASE);
void __iomem *evp_cpu_reset =