}
/**
-- * pci_acpi_add_bus_pm_notifier - Register PM notifier for given PCI bus.
-- * @dev: ACPI device to add the notifier for.
-- * @pci_bus: PCI bus to walk checking for PME status if an event is signaled.
- */
- acpi_status pci_acpi_add_bus_pm_notifier(struct acpi_device *dev,
- struct pci_bus *pci_bus)
- {
- return acpi_add_pm_notifier(dev, pci_acpi_wake_bus, pci_bus);
- }
-
- /**
- * pci_acpi_remove_bus_pm_notifier - Unregister PCI bus PM notifier.
- * @dev: ACPI device to remove the notifier from.
++ * pci_acpi_add_bus_pm_notifier - Register PM notifier for root PCI bus.
++ * @dev: PCI root bridge ACPI device.
*/
- acpi_status pci_acpi_remove_bus_pm_notifier(struct acpi_device *dev)
-acpi_status pci_acpi_add_bus_pm_notifier(struct acpi_device *dev,
- struct pci_bus *pci_bus)
++acpi_status pci_acpi_add_bus_pm_notifier(struct acpi_device *dev)
{
- return acpi_add_pm_notifier(dev, pci_acpi_wake_bus, pci_bus);
-}
-
-/**
- * pci_acpi_remove_bus_pm_notifier - Unregister PCI bus PM notifier.
- * @dev: ACPI device to remove the notifier from.
- */
-acpi_status pci_acpi_remove_bus_pm_notifier(struct acpi_device *dev)
-{
-- return acpi_remove_pm_notifier(dev, pci_acpi_wake_bus);
++ return acpi_add_pm_notifier(dev, NULL, pci_acpi_wake_bus);
}
/**