diff options
author | Tom Saeger <tom.saeger@oracle.com> | 2017-10-10 13:36:09 -0400 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2017-10-12 13:12:29 -0400 |
commit | 66ccc64f2c3b934f065811160be288cb9a2815ef (patch) | |
tree | 3a7cbff8c9318c39d38c32e0cbe659cf87788b30 /Documentation/power | |
parent | e8939222dced668fc5cae02b0b601af069801107 (diff) |
Documentation: fix driver-api doc refs
Make driver-api document refs valid.
Signed-off-by: Tom Saeger <tom.saeger@oracle.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/power')
-rw-r--r-- | Documentation/power/pci.txt | 10 | ||||
-rw-r--r-- | Documentation/power/runtime_pm.txt | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/Documentation/power/pci.txt b/Documentation/power/pci.txt index a1b7f7158930..d17fdf8f45ef 100644 --- a/Documentation/power/pci.txt +++ b/Documentation/power/pci.txt | |||
@@ -8,7 +8,7 @@ management. Based on previous work by Patrick Mochel <mochel@transmeta.com> | |||
8 | 8 | ||
9 | This document only covers the aspects of power management specific to PCI | 9 | This document only covers the aspects of power management specific to PCI |
10 | devices. For general description of the kernel's interfaces related to device | 10 | devices. For general description of the kernel's interfaces related to device |
11 | power management refer to Documentation/power/admin-guide/devices.rst and | 11 | power management refer to Documentation/driver-api/pm/devices.rst and |
12 | Documentation/power/runtime_pm.txt. | 12 | Documentation/power/runtime_pm.txt. |
13 | 13 | ||
14 | --------------------------------------------------------------------------- | 14 | --------------------------------------------------------------------------- |
@@ -417,7 +417,7 @@ pm->runtime_idle() callback. | |||
417 | 2.4. System-Wide Power Transitions | 417 | 2.4. System-Wide Power Transitions |
418 | ---------------------------------- | 418 | ---------------------------------- |
419 | There are a few different types of system-wide power transitions, described in | 419 | There are a few different types of system-wide power transitions, described in |
420 | Documentation/power/admin-guide/devices.rst. Each of them requires devices to be handled | 420 | Documentation/driver-api/pm/devices.rst. Each of them requires devices to be handled |
421 | in a specific way and the PM core executes subsystem-level power management | 421 | in a specific way and the PM core executes subsystem-level power management |
422 | callbacks for this purpose. They are executed in phases such that each phase | 422 | callbacks for this purpose. They are executed in phases such that each phase |
423 | involves executing the same subsystem-level callback for every device belonging | 423 | involves executing the same subsystem-level callback for every device belonging |
@@ -623,7 +623,7 @@ System restore requires a hibernation image to be loaded into memory and the | |||
623 | pre-hibernation memory contents to be restored before the pre-hibernation system | 623 | pre-hibernation memory contents to be restored before the pre-hibernation system |
624 | activity can be resumed. | 624 | activity can be resumed. |
625 | 625 | ||
626 | As described in Documentation/power/admin-guide/devices.rst, the hibernation image is loaded | 626 | As described in Documentation/driver-api/pm/devices.rst, the hibernation image is loaded |
627 | into memory by a fresh instance of the kernel, called the boot kernel, which in | 627 | into memory by a fresh instance of the kernel, called the boot kernel, which in |
628 | turn is loaded and run by a boot loader in the usual way. After the boot kernel | 628 | turn is loaded and run by a boot loader in the usual way. After the boot kernel |
629 | has loaded the image, it needs to replace its own code and data with the code | 629 | has loaded the image, it needs to replace its own code and data with the code |
@@ -677,7 +677,7 @@ controlling the runtime power management of their devices. | |||
677 | 677 | ||
678 | At the time of this writing there are two ways to define power management | 678 | At the time of this writing there are two ways to define power management |
679 | callbacks for a PCI device driver, the recommended one, based on using a | 679 | callbacks for a PCI device driver, the recommended one, based on using a |
680 | dev_pm_ops structure described in Documentation/power/admin-guide/devices.rst, and the | 680 | dev_pm_ops structure described in Documentation/driver-api/pm/devices.rst, and the |
681 | "legacy" one, in which the .suspend(), .suspend_late(), .resume_early(), and | 681 | "legacy" one, in which the .suspend(), .suspend_late(), .resume_early(), and |
682 | .resume() callbacks from struct pci_driver are used. The legacy approach, | 682 | .resume() callbacks from struct pci_driver are used. The legacy approach, |
683 | however, doesn't allow one to define runtime power management callbacks and is | 683 | however, doesn't allow one to define runtime power management callbacks and is |
@@ -1046,5 +1046,5 @@ PCI Local Bus Specification, Rev. 3.0 | |||
1046 | PCI Bus Power Management Interface Specification, Rev. 1.2 | 1046 | PCI Bus Power Management Interface Specification, Rev. 1.2 |
1047 | Advanced Configuration and Power Interface (ACPI) Specification, Rev. 3.0b | 1047 | Advanced Configuration and Power Interface (ACPI) Specification, Rev. 3.0b |
1048 | PCI Express Base Specification, Rev. 2.0 | 1048 | PCI Express Base Specification, Rev. 2.0 |
1049 | Documentation/power/admin-guide/devices.rst | 1049 | Documentation/driver-api/pm/devices.rst |
1050 | Documentation/power/runtime_pm.txt | 1050 | Documentation/power/runtime_pm.txt |
diff --git a/Documentation/power/runtime_pm.txt b/Documentation/power/runtime_pm.txt index 625549d4c74a..57af2f7963ee 100644 --- a/Documentation/power/runtime_pm.txt +++ b/Documentation/power/runtime_pm.txt | |||
@@ -680,7 +680,7 @@ left in runtime suspend. If that happens, the PM core will not execute any | |||
680 | system suspend and resume callbacks for all of those devices, except for the | 680 | system suspend and resume callbacks for all of those devices, except for the |
681 | complete callback, which is then entirely responsible for handling the device | 681 | complete callback, which is then entirely responsible for handling the device |
682 | as appropriate. This only applies to system suspend transitions that are not | 682 | as appropriate. This only applies to system suspend transitions that are not |
683 | related to hibernation (see Documentation/power/admin-guide/devices.rst for more | 683 | related to hibernation (see Documentation/driver-api/pm/devices.rst for more |
684 | information). | 684 | information). |
685 | 685 | ||
686 | The PM core does its best to reduce the probability of race conditions between | 686 | The PM core does its best to reduce the probability of race conditions between |