* [PATCH] avr32: pm: Fix section mismatch
@ 2013-12-04 16:52 Matthias Brugger
2013-12-04 20:59 ` Hans-Christian Egtvedt
0 siblings, 1 reply; 2+ messages in thread
From: Matthias Brugger @ 2013-12-04 16:52 UTC (permalink / raw)
To: hskinnemoen, egtvedt, linux-kernel; +Cc: Matthias Brugger
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>
---
arch/avr32/mach-at32ap/pm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/avr32/mach-at32ap/pm.c b/arch/avr32/mach-at32ap/pm.c
index 32d680e..db19084 100644
--- a/arch/avr32/mach-at32ap/pm.c
+++ b/arch/avr32/mach-at32ap/pm.c
@@ -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[];
--
1.8.1.2
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] avr32: pm: Fix section mismatch
2013-12-04 16:52 [PATCH] avr32: pm: Fix section mismatch Matthias Brugger
@ 2013-12-04 20:59 ` Hans-Christian Egtvedt
0 siblings, 0 replies; 2+ messages in thread
From: Hans-Christian Egtvedt @ 2013-12-04 20:59 UTC (permalink / raw)
To: Matthias Brugger; +Cc: hskinnemoen, linux-kernel
Around Wed 04 Dec 2013 17:52:55 +0100 or thereabout, Matthias Brugger wrote:
> 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().
Thank you for fixing, I'll add this to my for-linus branch.
> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
>
Acked-by: Hans-Christian Egtvedt <egtvedt@samfundet.no>
> ---
> arch/avr32/mach-at32ap/pm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
<snipp diff>
--
mvh
Hans-Christian Egtvedt
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-12-04 20:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-04 16:52 [PATCH] avr32: pm: Fix section mismatch Matthias Brugger
2013-12-04 20:59 ` Hans-Christian Egtvedt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®