diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2013-07-12 06:34:42 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2013-07-12 06:34:42 -0400 |
commit | f2006e27396f55276f24434f56e208d86e7f9908 (patch) | |
tree | 71896db916d33888b4286f80117d3cac0da40e6d /include/linux/mod_devicetable.h | |
parent | e399eb56a6110e13f97e644658648602e2b08de7 (diff) | |
parent | 9903883f1dd6e86f286b7bfa6e4b423f98c1cd9e (diff) |
Merge branch 'linus' into timers/urgent
Get upstream changes so we can apply fixes against them
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/mod_devicetable.h')
-rw-r--r-- | include/linux/mod_devicetable.h | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h index b508016fb76d..b62d4af6c667 100644 --- a/include/linux/mod_devicetable.h +++ b/include/linux/mod_devicetable.h | |||
@@ -456,7 +456,8 @@ enum dmi_field { | |||
456 | }; | 456 | }; |
457 | 457 | ||
458 | struct dmi_strmatch { | 458 | struct dmi_strmatch { |
459 | unsigned char slot; | 459 | unsigned char slot:7; |
460 | unsigned char exact_match:1; | ||
460 | char substr[79]; | 461 | char substr[79]; |
461 | }; | 462 | }; |
462 | 463 | ||
@@ -474,7 +475,8 @@ struct dmi_system_id { | |||
474 | */ | 475 | */ |
475 | #define dmi_device_id dmi_system_id | 476 | #define dmi_device_id dmi_system_id |
476 | 477 | ||
477 | #define DMI_MATCH(a, b) { a, b } | 478 | #define DMI_MATCH(a, b) { .slot = a, .substr = b } |
479 | #define DMI_EXACT_MATCH(a, b) { .slot = a, .substr = b, .exact_match = 1 } | ||
478 | 480 | ||
479 | #define PLATFORM_NAME_SIZE 20 | 481 | #define PLATFORM_NAME_SIZE 20 |
480 | #define PLATFORM_MODULE_PREFIX "platform:" | 482 | #define PLATFORM_MODULE_PREFIX "platform:" |
@@ -577,4 +579,23 @@ struct mei_cl_device_id { | |||
577 | kernel_ulong_t driver_info; | 579 | kernel_ulong_t driver_info; |
578 | }; | 580 | }; |
579 | 581 | ||
582 | /* RapidIO */ | ||
583 | |||
584 | #define RIO_ANY_ID 0xffff | ||
585 | |||
586 | /** | ||
587 | * struct rio_device_id - RIO device identifier | ||
588 | * @did: RapidIO device ID | ||
589 | * @vid: RapidIO vendor ID | ||
590 | * @asm_did: RapidIO assembly device ID | ||
591 | * @asm_vid: RapidIO assembly vendor ID | ||
592 | * | ||
593 | * Identifies a RapidIO device based on both the device/vendor IDs and | ||
594 | * the assembly device/vendor IDs. | ||
595 | */ | ||
596 | struct rio_device_id { | ||
597 | __u16 did, vid; | ||
598 | __u16 asm_did, asm_vid; | ||
599 | }; | ||
600 | |||
580 | #endif /* LINUX_MOD_DEVICETABLE_H */ | 601 | #endif /* LINUX_MOD_DEVICETABLE_H */ |