Skip to content

Commit eb68d90

Browse files
bjorn-helgaasrafaeljw
authored andcommitted
Documentation: PM: Update platform_pci_wakeup_init() reference
platform_pci_wakeup_init() was removed by d2e5f0c ("ACPI / PCI: Rework the setup and cleanup of device wakeup") but was still mentioned in the documentation. Update the doc to refer to pci_acpi_setup(), which does the equivalent work. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Dhruva Gole <d-gole@ti.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 4cece76 commit eb68d90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/power/pci.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ struct pci_dev.
333333
The PCI subsystem's first task related to device power management is to
334334
prepare the device for power management and initialize the fields of struct
335335
pci_dev used for this purpose. This happens in two functions defined in
336-
drivers/pci/pci.c, pci_pm_init() and platform_pci_wakeup_init().
336+
drivers/pci/, pci_pm_init() and pci_acpi_setup().
337337

338338
The first of these functions checks if the device supports native PCI PM
339339
and if that's the case the offset of its power management capability structure

0 commit comments

Comments
 (0)