diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2013-09-05 17:05:54 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-09-23 19:40:45 -0400 |
commit | b938a229c85a567de7dba2d806d9f63a7c90483e (patch) | |
tree | ad5f61296d196d5539f3fbda526a92dd085104c9 /include/linux/acpi.h | |
parent | dedf1e4dfd5477b4315ad451b4be0ff8d9f7e85f (diff) |
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 'include/linux/acpi.h')
-rw-r--r-- | include/linux/acpi.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 164ba10ddcb3..d220d1465d9b 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
@@ -300,9 +300,10 @@ struct acpi_osc_context { | |||
300 | struct acpi_buffer ret; /* free by caller if success */ | 300 | struct acpi_buffer ret; /* free by caller if success */ |
301 | }; | 301 | }; |
302 | 302 | ||
303 | #define OSC_QUERY_TYPE 0 | 303 | /* Indexes into _OSC Capabilities Buffer (DWORDs 2 & 3 are device-specific) */ |
304 | #define OSC_SUPPORT_TYPE 1 | 304 | #define OSC_QUERY_DWORD 0 /* DWORD 1 */ |
305 | #define OSC_CONTROL_TYPE 2 | 305 | #define OSC_SUPPORT_DWORD 1 /* DWORD 2 */ |
306 | #define OSC_CONTROL_DWORD 2 /* DWORD 3 */ | ||
306 | 307 | ||
307 | /* _OSC Capabilities DWORD 1: Query/Control and Error Returns (generic) */ | 308 | /* _OSC Capabilities DWORD 1: Query/Control and Error Returns (generic) */ |
308 | #define OSC_QUERY_ENABLE 0x00000001 /* input */ | 309 | #define OSC_QUERY_ENABLE 0x00000001 /* input */ |