From: Russell King - ARM Linux Date: Wed, 8 Feb 2012 16:38:50 +0000 (+0000) Subject: ARM: omap: preemptively fix section mismatch in omap4_sdp4430_wifi_mux_init() X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=843e5054b07f45cec937aa144f6c41ee20fed746;p=pandora-kernel.git ARM: omap: preemptively fix section mismatch in omap4_sdp4430_wifi_mux_init() 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 --- Reading git-diff-tree failed