toshiba_acpi: fix section mismatch in allyesconfig
authorRandy Dunlap <randy.dunlap@oracle.com>
Sat, 16 Jun 2007 17:16:02 +0000 (10:16 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 16 Jun 2007 20:16:15 +0000 (13:16 -0700)
commitb1d93de3e4633c4cbfd622a3564d8268a116a46a
treee1d4769c5208d625ccae4d4234e7338f1cf2c25d
parent3e903e7b1605aff88d7f89a96fab5e43081b914f
toshiba_acpi: fix section mismatch in allyesconfig

Fix section error (allyesconfig).  The exit function is called from init,
so functions that are called by the exit function cannot be marked __exit.

WARNING: drivers/built-in.o(.text+0xe5bc6): Section mismatch: reference to .exit.
text: (between 'toshiba_acpi_exit' and 'hci_raw')

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Len Brown <len.brown@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/acpi/toshiba_acpi.c