Skip to content

Commit b1d93de

Browse files
rddunlapLinus Torvalds
authored andcommitted
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>
1 parent 3e903e7 commit b1d93de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/acpi/toshiba_acpi.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ static acpi_status __init add_device(void)
524524
return AE_OK;
525525
}
526526

527-
static acpi_status __exit remove_device(void)
527+
static acpi_status remove_device(void)
528528
{
529529
ProcItem *item;
530530

0 commit comments

Comments
 (0)