diff mbox

acpi: Fix section mismatch warning in osl.c

Message ID AANLkTimWOytXT=jDWTobyvL=xdD7xW7oRqXshULgoF6R@mail.gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Rakib Mullick Nov. 1, 2010, 7:21 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index 966fedd..81de639 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -113,8 +113,6 @@  static DEFINE_SPINLOCK(acpi_ioremap_lock);
 #define	OSI_STRING_LENGTH_MAX 64	/* arbitrary */
 static char osi_setup_string[OSI_STRING_LENGTH_MAX];

-static void __init acpi_osi_setup_late(void);
-
 /*
  * The story of _OSI(Linux)
  *
@@ -1530,7 +1528,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");