summaryrefslogtreecommitdiff
path: root/Documentation/power
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2024-03-26 01:09:53 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-03-27 18:22:19 +0300
commiteb68d909d53eed0ec9722fcb18747647ca33a18f (patch)
tree5c18bd134fe793cf56eafe31554ec6211a95cce0 /Documentation/power
parent4cece764965020c22cff7665b18a012006359095 (diff)
downloadlinux-eb68d909d53eed0ec9722fcb18747647ca33a18f.tar.xz
Documentation: PM: Update platform_pci_wakeup_init() reference
platform_pci_wakeup_init() was removed by d2e5f0c16ad6 ("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>
Diffstat (limited to 'Documentation/power')
-rw-r--r--Documentation/power/pci.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/power/pci.rst b/Documentation/power/pci.rst
index 12070320307e..e2c1fb8a569a 100644
--- a/Documentation/power/pci.rst
+++ b/Documentation/power/pci.rst
@@ -333,7 +333,7 @@ struct pci_dev.
The PCI subsystem's first task related to device power management is to
prepare the device for power management and initialize the fields of struct
pci_dev used for this purpose. This happens in two functions defined in
-drivers/pci/pci.c, pci_pm_init() and platform_pci_wakeup_init().
+drivers/pci/, pci_pm_init() and pci_acpi_setup().
The first of these functions checks if the device supports native PCI PM
and if that's the case the offset of its power management capability structure