diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2007-06-16 13:16:02 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-06-16 16:16:15 -0400 |
commit | b1d93de3e4633c4cbfd622a3564d8268a116a46a (patch) | |
tree | e1d4769c5208d625ccae4d4234e7338f1cf2c25d /drivers/acpi | |
parent | 3e903e7b1605aff88d7f89a96fab5e43081b914f (diff) |
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>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/toshiba_acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/toshiba_acpi.c b/drivers/acpi/toshiba_acpi.c index 1cfbecb0ac10..13369b45563f 100644 --- a/drivers/acpi/toshiba_acpi.c +++ b/drivers/acpi/toshiba_acpi.c | |||
@@ -524,7 +524,7 @@ static acpi_status __init add_device(void) | |||
524 | return AE_OK; | 524 | return AE_OK; |
525 | } | 525 | } |
526 | 526 | ||
527 | static acpi_status __exit remove_device(void) | 527 | static acpi_status remove_device(void) |
528 | { | 528 | { |
529 | ProcItem *item; | 529 | ProcItem *item; |
530 | 530 | ||