Commit 32d47eeff05981bfb89a95747eb182bc12630d58

Authored by Zhang Rui
Committed by Len Brown
1 parent 3b38bb5f7f

ACPI: fix a section mismatch

WARNING: drivers/acpi/acpi.o(.text+0xeda): Section mismatch in reference from the function acpi_os_initialize1() to the function .init.text:set_osi_linux()

The function acpi_os_initialize1() references
the function __init set_osi_linux().

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -1530,7 +1530,7 @@
1530 1530 return AE_OK;
1531 1531 }
1532 1532  
1533   -acpi_status acpi_os_initialize1(void)
  1533 +acpi_status __init acpi_os_initialize1(void)
1534 1534 {
1535 1535 kacpid_wq = create_workqueue("kacpid");
1536 1536 kacpi_notify_wq = create_workqueue("kacpi_notify");