|
@@ -780,11 +780,6 @@ static int acpi_pci_link_resume(struct acpi_pci_link *link)
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
-/*
|
|
|
|
- * FIXME: this is a workaround to avoid nasty warning. It will be removed
|
|
|
|
- * after every device calls pci_disable_device in .resume.
|
|
|
|
- */
|
|
|
|
-int acpi_in_resume;
|
|
|
|
static int irqrouter_resume(struct sys_device *dev)
|
|
static int irqrouter_resume(struct sys_device *dev)
|
|
{
|
|
{
|
|
struct list_head *node = NULL;
|
|
struct list_head *node = NULL;
|
|
@@ -794,7 +789,6 @@ static int irqrouter_resume(struct sys_device *dev)
|
|
/* Make sure SCI is enabled again (Apple firmware bug?) */
|
|
/* Make sure SCI is enabled again (Apple firmware bug?) */
|
|
acpi_set_register(ACPI_BITREG_SCI_ENABLE, 1, ACPI_MTX_DO_NOT_LOCK);
|
|
acpi_set_register(ACPI_BITREG_SCI_ENABLE, 1, ACPI_MTX_DO_NOT_LOCK);
|
|
|
|
|
|
- acpi_in_resume = 1;
|
|
|
|
list_for_each(node, &acpi_link.entries) {
|
|
list_for_each(node, &acpi_link.entries) {
|
|
link = list_entry(node, struct acpi_pci_link, node);
|
|
link = list_entry(node, struct acpi_pci_link, node);
|
|
if (!link) {
|
|
if (!link) {
|
|
@@ -803,7 +797,6 @@ static int irqrouter_resume(struct sys_device *dev)
|
|
}
|
|
}
|
|
acpi_pci_link_resume(link);
|
|
acpi_pci_link_resume(link);
|
|
}
|
|
}
|
|
- acpi_in_resume = 0;
|
|
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|