From: Sakari Ailus Date: Wed, 10 Nov 2021 12:10:14 +0000 (+0200) Subject: Documentation: ACPI: Fix non-D0 probe _DSC object example X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=dff5acfd87e17ce8be3566b9948dc5ad558b0425;p=linux.git 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 Signed-off-by: Sakari Ailus Signed-off-by: Rafael J. Wysocki --- diff --git a/Documentation/firmware-guide/acpi/non-d0-probe.rst b/Documentation/firmware-guide/acpi/non-d0-probe.rst index 78781e1ab6a3d..7afd16701a02e 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) - } + } }