Re: [PATCH 09/16] ARM: omap: preemptively fix section mismatch in omap4_sdp4430_wifi_mux_init()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Russell King - ARM Linux <linux@xxxxxxxxxxxxxxxx> [120208 08:07]:
> Found by review.
> 
> omap4_sdp4430_wifi_mux_init() is called by an __init marked function,
> and only calls omap_mux_init_gpio() and omap_mux_init_signal() which
> are both also an __init marked functions.
> 
> The only reason this doesn't issue a warning is because the compiler
> inlines omap4_sdp4430_wifi_mux_init() into omap4_sdp4430_wifi_init().
> 
> So, lets add the __init annotation to ensure this remains safe should
> the compiler choose not to inline.
> 
> Signed-off-by: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx>

Acked-by: Tony Lindgren <tony@xxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux