kernel-ark/drivers
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
..
acorn
acpi acpi: fix section mismatch warning in asus + toshiba 2007-06-01 08:18:30 -07:00
amba
ata
atm
auxdisplay
base
block
bluetooth
cdrom
char tty: fix leakage of -ERESTARTSYS to userland 2007-06-01 08:18:29 -07:00
clocksource
connector
cpufreq
crypto
dio
dma
edac [S390] Kconfig: menus with depends on HAS_IOMEM. 2007-05-10 15:46:07 +02:00
eisa
fc4
firewire
firmware
hid
hwmon
i2c
ide
ieee1394
infiniband
input
isdn isdn: fix section mismatch warnings 2007-06-01 08:18:30 -07:00
kvm
leds
macintosh
mca
md
media
message
mfd
misc
mmc
mtd
net
nubus
oprofile
parisc
parport
pci
pcmcia
pnp
ps3
rapidio
rtc
s390
sbus
scsi
serial
sh
sn
spi SPI: Freescale iMX SPI controller driver fixes 2007-06-01 08:18:30 -07:00
tc
telephony
usb
video pm3fb: switching between X and fb fix 2007-06-01 08:18:30 -07:00
w1
zorro
Kconfig
Makefile