aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/acpi/glue.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/acpi/glue.c b/drivers/acpi/glue.c
index 9b227d4dc9c9..6d18ca34b6aa 100644
--- a/drivers/acpi/glue.c
+++ b/drivers/acpi/glue.c
@@ -336,6 +336,9 @@ static int __init acpi_rtc_init(void)
336 if (acpi_disabled) 336 if (acpi_disabled)
337 return 0; 337 return 0;
338 338
339 if (acpi_disabled)
340 return 0;
341
339 if (dev) { 342 if (dev) {
340 rtc_wake_setup(); 343 rtc_wake_setup();
341 rtc_info.wake_on = rtc_wake_on; 344 rtc_info.wake_on = rtc_wake_on;