Skip to content

Commit dff5acf

Browse files
Sakari Ailusrafaeljw
authored andcommitted
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: ed66f12 ("Documentation: ACPI: Document _DSC object usage for enum power state") Reported-by: Bingbu Cao <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 1e96078 commit dff5acf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Documentation/firmware-guide/acpi/non-d0-probe.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ objects not relevant from the example point of view have been omitted.
6262
.. code-block:: text
6363
6464
Device (CAM0)
65-
{
65+
{
6666
Name (_HID, "SONY319A")
6767
Name (_UID, Zero)
6868
Name (_CRS, ResourceTemplate ()
@@ -71,8 +71,8 @@ objects not relevant from the example point of view have been omitted.
7171
AddressingMode7Bit, "\\_SB.PCI0.I2C0",
7272
0x00, ResourceConsumer)
7373
})
74-
Name (_DSC, 0, NotSerialized)
74+
Method (_DSC, 0, NotSerialized)
7575
{
7676
Return (0x4)
77-
}
77+
}
7878
}

0 commit comments

Comments
 (0)