# 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 
- List: linux-omap
- Page: https://ratatoskr.run/linux-omap/2012/02/15519518
- Thread: https://ratatoskr.run/linux-omap/2012/02/8596648/t.md

```text
* Russell King - ARM Linux [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>
```
