diff options
author | jkim <jkim@FreeBSD.org> | 2016-04-20 21:21:47 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2016-04-20 21:21:47 +0000 |
commit | c6fadd21159e75b733e0d9255c93d1d052bee153 (patch) | |
tree | ea2a96c448c4fc1d8a0e720656dde93b2928bb00 /sys/dev/acpica/acpi.c | |
parent | b389a6beb1565ba2536fc0d1ff653bdd61a18b00 (diff) | |
download | FreeBSD-src-c6fadd21159e75b733e0d9255c93d1d052bee153.zip FreeBSD-src-c6fadd21159e75b733e0d9255c93d1d052bee153.tar.gz |
Remove query flag from acpi_EvaluateOSC(). This function does not support
return buffer (yet).
Diffstat (limited to 'sys/dev/acpica/acpi.c')
-rw-r--r-- | sys/dev/acpica/acpi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c index 8539f2f..c6ea082 100644 --- a/sys/dev/acpica/acpi.c +++ b/sys/dev/acpica/acpi.c @@ -2482,7 +2482,7 @@ acpi_AppendBufferResource(ACPI_BUFFER *buf, ACPI_RESOURCE *res) ACPI_STATUS acpi_EvaluateOSC(ACPI_HANDLE handle, uint8_t *uuid, int revision, int count, - uint32_t *caps, bool query) + uint32_t *caps) { ACPI_OBJECT arg[4]; ACPI_OBJECT_LIST arglist; @@ -2499,7 +2499,6 @@ acpi_EvaluateOSC(ACPI_HANDLE handle, uint8_t *uuid, int revision, int count, arg[3].Type = ACPI_TYPE_BUFFER; arg[3].Buffer.Length = count * sizeof(uint32_t); arg[3].Buffer.Pointer = (uint8_t *)caps; - caps[0] = query ? 1 : 0; return (AcpiEvaluateObject(handle, "_OSC", &arglist, NULL)); } |