aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/osl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r--drivers/acpi/osl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index e349879d9246..58ceb18ec997 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -86,7 +86,7 @@ int osi_linux; /* disable _OSI(Linux) by default */
86 86
87 87
88#ifdef CONFIG_DMI 88#ifdef CONFIG_DMI
89static struct dmi_system_id acpi_osl_dmi_table[]; 89static struct __initdata dmi_system_id acpi_osl_dmi_table[];
90#endif 90#endif
91 91
92static void __init acpi_request_region (struct acpi_generic_address *addr, 92static void __init acpi_request_region (struct acpi_generic_address *addr,
@@ -137,7 +137,7 @@ static int __init acpi_reserve_resources(void)
137} 137}
138device_initcall(acpi_reserve_resources); 138device_initcall(acpi_reserve_resources);
139 139
140acpi_status acpi_os_initialize(void) 140acpi_status __init acpi_os_initialize(void)
141{ 141{
142 dmi_check_system(acpi_osl_dmi_table); 142 dmi_check_system(acpi_osl_dmi_table);
143 return AE_OK; 143 return AE_OK;
@@ -1243,7 +1243,7 @@ static int dmi_osi_linux(struct dmi_system_id *d)
1243} 1243}
1244#endif 1244#endif
1245 1245
1246static struct dmi_system_id acpi_osl_dmi_table[] = { 1246static struct dmi_system_id acpi_osl_dmi_table[] __initdata = {
1247#ifdef OSI_LINUX_ENABLED 1247#ifdef OSI_LINUX_ENABLED
1248 /* 1248 /*
1249 * Boxes that need NOT _OSI(Linux) 1249 * Boxes that need NOT _OSI(Linux)