Thread (51 messages) 51 messages, 7 authors, 2012-02-09

Re: [PATCH 07/16] ARM: omap: fix section mismatch errors in TWL PMIC driver

From: Tony Lindgren <tony@atomide.com>
Date: 2012-02-08 18:47:03

* Russell King - ARM Linux [off-list ref] [120208 08:07]:
WARNING: drivers/mfd/built-in.o(.devinit.text+0x258): Section mismatch in reference from the function twl_probe() to the function .init.text:twl4030_power_init()
The function __devinit twl_probe() references
a function __init twl4030_power_init().
If twl4030_power_init is only used by twl_probe then
annotate twl4030_power_init with a matching annotation.

twl4030_power_init() references other __init marked functions, so
these too must become __devinit.

Signed-off-by: Russell King <redacted>
We'll take a look at sorting this out for v3.4 properly.
Meanwhile:

Acked-by: Tony Lindgren <tony@atomide.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help