Skip to content

Commit

Permalink
ARM: tegra: make tegra_cpu_reset_handler_enable() __init
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Warren authored and Olof Johansson committed Jun 18, 2012
1 parent 22cec7c commit 6355f25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-tegra/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 6355f25

Please sign in to comment.