aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2010-12-08 10:40:36 +0800
committerLen Brown <len.brown@intel.com>2010-12-11 02:01:47 -0500
commit32d47eeff05981bfb89a95747eb182bc12630d58 (patch)
tree5f396a51cb3fa829ad0ca021339cbd253fa18bb8 /drivers/acpi
parent3b38bb5f7f06356a89bb2cbf92ad346025e95192 (diff)
downloadkernel_samsung_tuna-32d47eeff05981bfb89a95747eb182bc12630d58.zip
kernel_samsung_tuna-32d47eeff05981bfb89a95747eb182bc12630d58.tar.gz
kernel_samsung_tuna-32d47eeff05981bfb89a95747eb182bc12630d58.tar.bz2
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>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/osl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index 966fedd..f7227e9 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -1530,7 +1530,7 @@ acpi_status __init acpi_os_initialize(void)
return AE_OK;
}
-acpi_status acpi_os_initialize1(void)
+acpi_status __init acpi_os_initialize1(void)
{
kacpid_wq = create_workqueue("kacpid");
kacpi_notify_wq = create_workqueue("kacpi_notify");