diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2021-11-10 15:10:14 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-11-10 15:59:12 +0300 |
commit | dff5acfd87e17ce8be3566b9948dc5ad558b0425 (patch) | |
tree | 8fac6ce56b2594122f7e257d90b5cb11bfc01ef8 /Documentation/firmware-guide | |
parent | 1e96078e0ae456cda0e02afd42b9a2b3734f45ba (diff) | |
download | linux-dff5acfd87e17ce8be3566b9948dc5ad558b0425.tar.xz |
Documentation: ACPI: Fix non-D0 probe _DSC object example
The original patch adding the example used _DSC Name when Method was
intended. Fix this.
Also replace spaces used for indentation with tabs in the example.
Fixes: ed66f12ba4b1 ("Documentation: ACPI: Document _DSC object usage for enum power state")
Reported-by: Bingbu Cao <bingbu.cao@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation/firmware-guide')
-rw-r--r-- | Documentation/firmware-guide/acpi/non-d0-probe.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/firmware-guide/acpi/non-d0-probe.rst b/Documentation/firmware-guide/acpi/non-d0-probe.rst index 78781e1ab6a3..7afd16701a02 100644 --- a/Documentation/firmware-guide/acpi/non-d0-probe.rst +++ b/Documentation/firmware-guide/acpi/non-d0-probe.rst @@ -62,7 +62,7 @@ objects not relevant from the example point of view have been omitted. .. code-block:: text Device (CAM0) - { + { Name (_HID, "SONY319A") Name (_UID, Zero) Name (_CRS, ResourceTemplate () @@ -71,8 +71,8 @@ objects not relevant from the example point of view have been omitted. AddressingMode7Bit, "\\_SB.PCI0.I2C0", 0x00, ResourceConsumer) }) - Name (_DSC, 0, NotSerialized) + Method (_DSC, 0, NotSerialized) { Return (0x4) - } + } } |