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>
This commit is contained in:

committed by
Rafael J. Wysocki

parent
f540fadf29
commit
78e25fef27
@@ -1020,15 +1020,15 @@ u32 (*acpi_interface_handler) (acpi_string interface_name, u32 supported);
|
||||
|
||||
/* Structures used for device/processor HID, UID, CID */
|
||||
|
||||
struct acpica_device_id {
|
||||
struct acpi_pnp_device_id {
|
||||
u32 length; /* Length of string + null */
|
||||
char *string;
|
||||
};
|
||||
|
||||
struct acpica_device_id_list {
|
||||
struct acpi_pnp_device_id_list {
|
||||
u32 count; /* Number of IDs in Ids array */
|
||||
u32 list_size; /* Size of list, including ID strings */
|
||||
struct acpica_device_id ids[1]; /* ID array */
|
||||
struct acpi_pnp_device_id ids[1]; /* ID array */
|
||||
};
|
||||
|
||||
/*
|
||||
@@ -1046,9 +1046,9 @@ struct acpi_device_info {
|
||||
u8 lowest_dstates[5]; /* _sx_w values: 0xFF indicates not valid */
|
||||
u32 current_status; /* _STA value */
|
||||
u64 address; /* _ADR value */
|
||||
struct acpica_device_id hardware_id; /* _HID value */
|
||||
struct acpica_device_id unique_id; /* _UID value */
|
||||
struct acpica_device_id_list compatible_id_list; /* _CID list <must be last> */
|
||||
struct acpi_pnp_device_id hardware_id; /* _HID value */
|
||||
struct acpi_pnp_device_id unique_id; /* _UID value */
|
||||
struct acpi_pnp_device_id_list compatible_id_list; /* _CID list <must be last> */
|
||||
};
|
||||
|
||||
/* Values for Flags field above (acpi_get_object_info) */
|
||||
|
Reference in New Issue
Block a user