From: Zhang Rui Date: Wed, 8 Dec 2010 02:40:36 +0000 (+0800) Subject: ACPI: fix a section mismatch X-Git-Tag: v2.6.37-rc6~17^2~1^4~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=32d47eeff05981bfb89a95747eb182bc12630d58;p=profile%2Fcommon%2Fkernel-common.git 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 Signed-off-by: Len Brown --- 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");