compat-drivers: fix section mismatch in ath5k
authorHauke Mehrtens <hauke@hauke-m.de>
Wed, 9 Jan 2013 16:27:26 +0000 (17:27 +0100)
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>
Thu, 10 Jan 2013 21:09:02 +0000 (13:09 -0800)
commit632e1ba593b175eed5456e5435afd940e3c76619
tree16af4023393dfa4bcae4b39bb200677f750151db
parent02fbcaefbb3a22d6d20fe11161df6a5cfed0fc9b
compat-drivers: fix section mismatch in ath5k

Fix section mismatch introduced by removing __devinitconst usage from
the kernel.

WARNING: /home/hauke/compat-wireless/compat-wireless/drivers/net/wireless/ath/ath5k/ath5k.o(.text+0x13898): Section mismatch in reference from the function ath5k_init_leds() to the variable .devinit.rodata:ath5k_led_devices
The function ath5k_init_leds() references
the variable __devinitconst ath5k_led_devices.
This is often because ath5k_init_leds lacks a __devinitconst
annotation or the annotation of ath5k_led_devices is wrong.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
patches/collateral-evolutions/network/67-fix-section-mismatch.patch [new file with mode: 0644]