summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/system.c')
-rw-r--r--drivers/acpi/system.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/acpi/system.c b/drivers/acpi/system.c
index c8859047acfe..44be75ee7264 100644
--- a/drivers/acpi/system.c
+++ b/drivers/acpi/system.c
@@ -616,12 +616,9 @@ static int acpi_system_procfs_init(void)
}
#endif
-static int __init acpi_system_init(void)
+int __init acpi_system_init(void)
{
- int result = 0;
-
- if (acpi_disabled)
- return 0;
+ int result;
result = acpi_system_procfs_init();
if (result)
@@ -631,5 +628,3 @@ static int __init acpi_system_init(void)
return result;
}
-
-subsys_initcall(acpi_system_init);