aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2012-10-30 22:25:24 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2012-11-14 18:31:22 -0500
commit78e25fef2751434f38c7f711ecbf8762f79f7318 (patch)
tree7e449ecb6baaf24fe0460541df13e0d50f3da5a7 /include/acpi
parentf540fadf29a6987efbfa7daf10976935fd59ae7c (diff)
ACPICA: Fix divergences of definition conflicts.
There are conflicts in the "acpi_device_id*" definitions between the Linux and the ACPICA. The definitions of acpi_device_id* in ACPICA have been changed to the "acpi_pnp_device_id*". This patch changes the corresponding "acpica_device_id*" definitiions in the Linux. This patch will not affect the generated vmlinx binary. This will decrease 298 lines of 20120913 divergence.diff. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi')
-rw-r--r--include/acpi/actypes.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/acpi/actypes.h b/include/acpi/actypes.h
index a85bae968262..7520f420e4ee 100644
--- a/include/acpi/actypes.h
+++ b/include/acpi/actypes.h
@@ -1020,15 +1020,15 @@ u32 (*acpi_interface_handler) (acpi_string interface_name, u32 supported);
1020 1020
1021/* Structures used for device/processor HID, UID, CID */ 1021/* Structures used for device/processor HID, UID, CID */
1022 1022
1023struct acpica_device_id { 1023struct acpi_pnp_device_id {
1024 u32 length; /* Length of string + null */ 1024 u32 length; /* Length of string + null */
1025 char *string; 1025 char *string;
1026}; 1026};
1027 1027
1028struct acpica_device_id_list { 1028struct acpi_pnp_device_id_list {
1029 u32 count; /* Number of IDs in Ids array */ 1029 u32 count; /* Number of IDs in Ids array */
1030 u32 list_size; /* Size of list, including ID strings */ 1030 u32 list_size; /* Size of list, including ID strings */
1031 struct acpica_device_id ids[1]; /* ID array */ 1031 struct acpi_pnp_device_id ids[1]; /* ID array */
1032}; 1032};
1033 1033
1034/* 1034/*
@@ -1046,9 +1046,9 @@ struct acpi_device_info {
1046 u8 lowest_dstates[5]; /* _sx_w values: 0xFF indicates not valid */ 1046 u8 lowest_dstates[5]; /* _sx_w values: 0xFF indicates not valid */
1047 u32 current_status; /* _STA value */ 1047 u32 current_status; /* _STA value */
1048 u64 address; /* _ADR value */ 1048 u64 address; /* _ADR value */
1049 struct acpica_device_id hardware_id; /* _HID value */ 1049 struct acpi_pnp_device_id hardware_id; /* _HID value */
1050 struct acpica_device_id unique_id; /* _UID value */ 1050 struct acpi_pnp_device_id unique_id; /* _UID value */
1051 struct acpica_device_id_list compatible_id_list; /* _CID list <must be last> */ 1051 struct acpi_pnp_device_id_list compatible_id_list; /* _CID list <must be last> */
1052}; 1052};
1053 1053
1054/* Values for Flags field above (acpi_get_object_info) */ 1054/* Values for Flags field above (acpi_get_object_info) */