diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2013-09-05 15:05:54 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-09-23 17:40:45 -0600 |
commit | b938a229c85a567de7dba2d806d9f63a7c90483e (patch) | |
tree | ad5f61296d196d5539f3fbda526a92dd085104c9 /drivers/acpi/apei | |
parent | dedf1e4dfd5477b4315ad451b4be0ff8d9f7e85f (diff) | |
download | op-kernel-dev-b938a229c85a567de7dba2d806d9f63a7c90483e.zip op-kernel-dev-b938a229c85a567de7dba2d806d9f63a7c90483e.tar.gz |
ACPI: Rename OSC_QUERY_TYPE to OSC_QUERY_DWORD
OSC_QUERY_TYPE isn't a "type"; it's an index into the _OSC Capabilities
Buffer of DWORDs. Rename OSC_QUERY_TYPE, OSC_SUPPORT_TYPE, and
OSC_CONTROL_TYPE to OSC_QUERY_DWORD, etc., to make this clear.
No functional change.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/apei')
-rw-r--r-- | drivers/acpi/apei/apei-base.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/apei/apei-base.c b/drivers/acpi/apei/apei-base.c index 46f80e2..6d2c49b 100644 --- a/drivers/acpi/apei/apei-base.c +++ b/drivers/acpi/apei/apei-base.c @@ -758,9 +758,9 @@ int apei_osc_setup(void) .cap.pointer = capbuf, }; - capbuf[OSC_QUERY_TYPE] = OSC_QUERY_ENABLE; - capbuf[OSC_SUPPORT_TYPE] = 1; - capbuf[OSC_CONTROL_TYPE] = 0; + capbuf[OSC_QUERY_DWORD] = OSC_QUERY_ENABLE; + capbuf[OSC_SUPPORT_DWORD] = 1; + capbuf[OSC_CONTROL_DWORD] = 0; if (ACPI_FAILURE(acpi_get_handle(NULL, "\\_SB", &handle)) || ACPI_FAILURE(acpi_run_osc(handle, &context))) |