Skip to content

Commit

Permalink
avr32: pm: Fix section mismatch
Browse files Browse the repository at this point in the history
The power management has a section mismatch which leads to the following
warning during compilation:

WARNING: arch/avr32/mach-at32ap/built-in.o(.text+0x16d4): Section
mismatch in reference from the function avr32_pm_offset() to the
function .init.text:pm_exception()
The function avr32_pm_offset() references
the function __init pm_exception().

Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Acked-by: Hans-Christian Egtvedt <hegtvedt@cisco.com>
  • Loading branch information
Matthias Brugger authored and Hans-Christian Egtvedt committed Dec 10, 2013
1 parent b96fa8f commit e6a7906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/avr32/mach-at32ap/pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ static const struct platform_suspend_ops avr32_pm_ops = {
.enter = avr32_pm_enter,
};

static unsigned long avr32_pm_offset(void *symbol)
static unsigned long __init avr32_pm_offset(void *symbol)
{
extern u8 pm_exception[];

Expand Down

0 comments on commit e6a7906

Please sign in to comment.