summaryrefslogtreecommitdiffstats
path: root/include/hw/acpi
diff options
context:
space:
mode:
authorGal Hammer <ghammer@redhat.com>2015-04-21 11:26:12 +0300
committerMichael S. Tsirkin <mst@redhat.com>2015-04-28 07:56:19 +0200
commit7824df3889499acc7466317175a3fb24a0824002 (patch)
treeda5453a3cf37c3f7361bda04e52ed5da5a7addeb /include/hw/acpi
parentbc09e06113e79e5d70cf2b37015a26f2102cc03e (diff)
downloadhqemu-7824df3889499acc7466317175a3fb24a0824002.zip
hqemu-7824df3889499acc7466317175a3fb24a0824002.tar.gz
acpi: add a missing backslash to the \_SB scope.
A predefined scope in the ACPI specs is precede with a backslash. Signed-off-by: Gal Hammer <ghammer@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Diffstat (limited to 'include/hw/acpi')
-rw-r--r--include/hw/acpi/aml-build.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/acpi/aml-build.h b/include/hw/acpi/aml-build.h
index 15579e6..3947201 100644
--- a/include/hw/acpi/aml-build.h
+++ b/include/hw/acpi/aml-build.h
@@ -146,7 +146,7 @@ void free_aml_allocator(void);
* Joins Aml elements together and helps to construct AML tables
* Examle of usage:
* Aml *table = aml_def_block("SSDT", ...);
- * Aml *sb = aml_scope("\_SB");
+ * Aml *sb = aml_scope("\\_SB");
* Aml *dev = aml_device("PCI0");
*
* aml_append(dev, aml_name_decl("HID", aml_eisaid("PNP0A03")));
OpenPOWER on IntegriCloud