diff options
Diffstat (limited to 'include/linux/mod_devicetable.h')
-rw-r--r-- | include/linux/mod_devicetable.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h index 688997a24aad..64f36e09a790 100644 --- a/include/linux/mod_devicetable.h +++ b/include/linux/mod_devicetable.h | |||
@@ -219,6 +219,14 @@ struct serio_device_id { | |||
219 | __u8 proto; | 219 | __u8 proto; |
220 | }; | 220 | }; |
221 | 221 | ||
222 | struct hda_device_id { | ||
223 | __u32 vendor_id; | ||
224 | __u32 rev_id; | ||
225 | __u8 api_version; | ||
226 | const char *name; | ||
227 | unsigned long driver_data; | ||
228 | }; | ||
229 | |||
222 | /* | 230 | /* |
223 | * Struct used for matching a device | 231 | * Struct used for matching a device |
224 | */ | 232 | */ |
@@ -601,15 +609,13 @@ struct ipack_device_id { | |||
601 | 609 | ||
602 | #define MEI_CL_MODULE_PREFIX "mei:" | 610 | #define MEI_CL_MODULE_PREFIX "mei:" |
603 | #define MEI_CL_NAME_SIZE 32 | 611 | #define MEI_CL_NAME_SIZE 32 |
604 | #define MEI_CL_UUID_FMT "%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x" | 612 | #define MEI_CL_VERSION_ANY 0xff |
605 | #define MEI_CL_UUID_ARGS(_u) \ | ||
606 | _u[0], _u[1], _u[2], _u[3], _u[4], _u[5], _u[6], _u[7], \ | ||
607 | _u[8], _u[9], _u[10], _u[11], _u[12], _u[13], _u[14], _u[15] | ||
608 | 613 | ||
609 | /** | 614 | /** |
610 | * struct mei_cl_device_id - MEI client device identifier | 615 | * struct mei_cl_device_id - MEI client device identifier |
611 | * @name: helper name | 616 | * @name: helper name |
612 | * @uuid: client uuid | 617 | * @uuid: client uuid |
618 | * @version: client protocol version | ||
613 | * @driver_info: information used by the driver. | 619 | * @driver_info: information used by the driver. |
614 | * | 620 | * |
615 | * identifies mei client device by uuid and name | 621 | * identifies mei client device by uuid and name |
@@ -617,6 +623,7 @@ struct ipack_device_id { | |||
617 | struct mei_cl_device_id { | 623 | struct mei_cl_device_id { |
618 | char name[MEI_CL_NAME_SIZE]; | 624 | char name[MEI_CL_NAME_SIZE]; |
619 | uuid_le uuid; | 625 | uuid_le uuid; |
626 | __u8 version; | ||
620 | kernel_ulong_t driver_info; | 627 | kernel_ulong_t driver_info; |
621 | }; | 628 | }; |
622 | 629 | ||