[PATCH] omap2: mark omap_init_rng as __init

Tony Lindgren tony at atomide.com
Fri Dec 16 09:11:30 PST 2016


* Arnd Bergmann <arnd at arndb.de> [161216 01:10]:
> I found this section mismatch when building with an older
> compiler release:
> 
> WARNING: vmlinux.o(.text+0x3051c): Section mismatch in reference from the function omap_init_rng() to the function .init.text:omap_device_build()
> 
> Obviously this one function should be __init as well. Normally
> we don't get a warning as the function gets inlined into its
> caller.

Acked-by: Tony Lindgren <tony at atomide.com>



More information about the linux-arm-kernel mailing list