提交 b1d93de3 编写于 作者: R Randy Dunlap 提交者: Linus Torvalds

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: NRandy Dunlap <randy.dunlap@oracle.com>
Cc: Len Brown <len.brown@intel.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 3e903e7b
...@@ -524,7 +524,7 @@ static acpi_status __init add_device(void) ...@@ -524,7 +524,7 @@ static acpi_status __init add_device(void)
return AE_OK; return AE_OK;
} }
static acpi_status __exit remove_device(void) static acpi_status remove_device(void)
{ {
ProcItem *item; ProcItem *item;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册