kernel-ark/drivers/acpi
Sam Ravnborg b2b77b2335 acpi: fix section mismatch warning in asus + toshiba
Fix following section mismatch warnings in acpi

WARNING: drivers/acpi/asus_acpi.o(.init.text+0xb7): Section mismatch: reference to .exit.text: (after 'init_module')
WARNING: o-i386/drivers/acpi/toshiba_acpi.o(.init.text+0x13a): Section mismatch: reference to .exit.text: (after 'init_module')

The exit function is used in the init function during an error codition.
As __exit may be discarded during link-time / run-time this is no good.
Do not mark the exit function __exit.

Note: This warning is only seen by my local copy of modpost
      but the change will soon hit upstream.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-06-01 08:18:30 -07:00
..
dispatcher
events
executer
hardware
namespace
parser
resources
sleep
tables
utilities
ac.c
acpi_memhotplug.c
asus_acpi.c acpi: fix section mismatch warning in asus + toshiba 2007-06-01 08:18:30 -07:00
battery.c
bay.c
blacklist.c
bus.c
button.c
cm_sbs.c
container.c
debug.c
dock.c
ec.c acpi,msi-laptop: Fall back to EC polling mode for MSI laptop specific EC commands 2007-05-10 03:52:22 -04:00
event.c
fan.c
glue.c
Kconfig
Makefile
numa.c acpi: fix potential call to a freed memory section. 2007-05-17 05:23:04 -07:00
osl.c
pci_bind.c
pci_irq.c
pci_link.c
pci_root.c
power.c
processor_core.c
processor_idle.c
processor_perflib.c
processor_thermal.c
processor_throttling.c
sbs.c
scan.c
system.c
tables.c
thermal.c
toshiba_acpi.c acpi: fix section mismatch warning in asus + toshiba 2007-06-01 08:18:30 -07:00
utils.c
video.c