diff options
Diffstat (limited to 'include/linux/mod_devicetable.h')
| -rw-r--r-- | include/linux/mod_devicetable.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h index 96a71a648eed..1298a7daa57d 100644 --- a/include/linux/mod_devicetable.h +++ b/include/linux/mod_devicetable.h | |||
| @@ -746,4 +746,19 @@ struct tb_service_id { | |||
| 746 | #define TBSVC_MATCH_PROTOCOL_VERSION 0x0004 | 746 | #define TBSVC_MATCH_PROTOCOL_VERSION 0x0004 |
| 747 | #define TBSVC_MATCH_PROTOCOL_REVISION 0x0008 | 747 | #define TBSVC_MATCH_PROTOCOL_REVISION 0x0008 |
| 748 | 748 | ||
| 749 | /* USB Type-C Alternate Modes */ | ||
| 750 | |||
| 751 | #define TYPEC_ANY_MODE 0x7 | ||
| 752 | |||
| 753 | /** | ||
| 754 | * struct typec_device_id - USB Type-C alternate mode identifiers | ||
| 755 | * @svid: Standard or Vendor ID | ||
| 756 | * @mode: Mode index | ||
| 757 | */ | ||
| 758 | struct typec_device_id { | ||
| 759 | __u16 svid; | ||
| 760 | __u8 mode; | ||
| 761 | kernel_ulong_t driver_data; | ||
| 762 | }; | ||
| 763 | |||
| 749 | #endif /* LINUX_MOD_DEVICETABLE_H */ | 764 | #endif /* LINUX_MOD_DEVICETABLE_H */ |
