提交 dff5acfd 编写于 作者: S Sakari Ailus 提交者: Rafael J. Wysocki

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: ed66f12b ("Documentation: ACPI: Document _DSC object usage for enum power state")
Reported-by: NBingbu Cao <bingbu.cao@intel.com>
Signed-off-by: NSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 1e96078e
...@@ -62,7 +62,7 @@ objects not relevant from the example point of view have been omitted. ...@@ -62,7 +62,7 @@ objects not relevant from the example point of view have been omitted.
.. code-block:: text .. code-block:: text
Device (CAM0) Device (CAM0)
{ {
Name (_HID, "SONY319A") Name (_HID, "SONY319A")
Name (_UID, Zero) Name (_UID, Zero)
Name (_CRS, ResourceTemplate () Name (_CRS, ResourceTemplate ()
...@@ -71,8 +71,8 @@ objects not relevant from the example point of view have been omitted. ...@@ -71,8 +71,8 @@ objects not relevant from the example point of view have been omitted.
AddressingMode7Bit, "\\_SB.PCI0.I2C0", AddressingMode7Bit, "\\_SB.PCI0.I2C0",
0x00, ResourceConsumer) 0x00, ResourceConsumer)
}) })
Name (_DSC, 0, NotSerialized) Method (_DSC, 0, NotSerialized)
{ {
Return (0x4) Return (0x4)
} }
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册