summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-06-18 15:01:50 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-16 09:03:20 -0700
commitc1389ce1e02c1e1f617d7cf70852ad5d9f9ef355 (patch)
tree16d857353115a638dc1ffb8010d15e4c8907ba1e /arch
parentc84299b8ddb3de60ac857aee396d709346eed27f (diff)
downloadlinux-3.10-c1389ce1e02c1e1f617d7cf70852ad5d9f9ef355.tar.gz
linux-3.10-c1389ce1e02c1e1f617d7cf70852ad5d9f9ef355.tar.bz2
linux-3.10-c1389ce1e02c1e1f617d7cf70852ad5d9f9ef355.zip
ARM: tegra: make tegra_cpu_reset_handler_enable() __init
commit 6355f25ed965421725d92cf719fc63008690ca1c upstream. 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. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
-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 4d6a2ee99c3..5beb7ebe294 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 =