diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-02-07 11:07:24 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-02-13 10:00:37 +0000 |
commit | d5de63f5f84d7def5e25a90e44234c58003876c1 (patch) | |
tree | 0ca68720b7ec89b3aa146dcee3a4791d438abc10 /drivers/idle | |
parent | 27d8d3bf06c574b8bc88d1cf50ed3e3b2c40935b (diff) | |
download | blackbird-op-linux-d5de63f5f84d7def5e25a90e44234c58003876c1.tar.gz blackbird-op-linux-d5de63f5f84d7def5e25a90e44234c58003876c1.zip |
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.
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/idle')
0 files changed, 0 insertions, 0 deletions