Commit c8d992fb authored by Len Brown's avatar Len Brown Committed by Len Brown

[ACPI] init wakeup devcies only if ACPI enabled (David Shaohua Li)

parent c9b57130
......@@ -151,6 +151,8 @@ static int __init acpi_wakeup_device_init(void)
{
struct list_head * node, * next;
if (acpi_disabled)
return 0;
printk("ACPI wakeup devices: \n");
spin_lock(&acpi_device_lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment