mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 09:02:00 +00:00
7560e38565
Fix following warnings: WARNING: vmlinux.o(.text+0x672615): Section mismatch in reference from the function acer_platform_remove() to the function .exit.text:acer_backlight_exit() WARNING: vmlinux.o(.devinit.text+0x1e859): Section mismatch in reference from the function acer_platform_probe() to the function .init.text:acer_led_init() WARNING: vmlinux.o(.devinit.text+0x1e878): Section mismatch in reference from the function acer_platform_probe() to the function .init.text:acer_backlight_init() Remove __exit annotation from acer_backlight_exit(). We cannot reference a __exit annotated function from non __exit functions. acer_led_init() and acer_backlight_init() where both annotated __init but used from a __devinit function. This would result in an oops should gcc drop their inlining and the module are hot plugged. Fix by annotating acer_led_init() and acer_backlight_init() __devinit. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Carlos Corbacho <carlos@strangeworlds.co.uk> Signed-off-by: Len Brown <len.brown@intel.com> |
||
---|---|---|
.. | ||
hdpuftrs | ||
ibmasm | ||
acer-wmi.c | ||
asus-laptop.c | ||
atmel_pwm.c | ||
atmel-ssc.c | ||
eeprom_93cx6.c | ||
enclosure.c | ||
fujitsu-laptop.c | ||
intel_menlow.c | ||
ioc4.c | ||
Kconfig | ||
lkdtm.c | ||
Makefile | ||
msi-laptop.c | ||
phantom.c | ||
sony-laptop.c | ||
tc1100-wmi.c | ||
thinkpad_acpi.c | ||
tifm_7xx1.c | ||
tifm_core.c |