]> git.baikalelectronics.ru Git - kernel.git/commit
avr32: pm: Fix section mismatch
authorMatthias Brugger <matthias.bgg@gmail.com>
Wed, 4 Dec 2013 16:52:55 +0000 (17:52 +0100)
committerHans-Christian Egtvedt <hegtvedt@cisco.com>
Tue, 10 Dec 2013 07:46:38 +0000 (08:46 +0100)
commit0c2dd0957aa5f438f9420a6ceaa25e4fbfdc6d3d
treea02b519918e88637f9f5d85e32742ce827ce6f4e
parent5df73139ba89c4f63c2f7a92ef32266a2bcd6d1c
avr32: pm: Fix section mismatch

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>
arch/avr32/mach-at32ap/pm.c