diff options
| author | Tony Lindgren <tony@atomide.com> | 2018-08-28 12:58:03 -0400 |
|---|---|---|
| committer | Tony Lindgren <tony@atomide.com> | 2018-08-28 12:58:03 -0400 |
| commit | ea4d65f14f6aaa53e379b93c5544245ef081b3e7 (patch) | |
| tree | a15485f4f1cf547a52b31fa8e16e14b9579b7200 /include/linux/mod_devicetable.h | |
| parent | ce32d59ee2cd036f6e8a6ed17a06a0b0bec5c67c (diff) | |
| parent | 496f3347d834aec91c38b45d6249ed00f58ad233 (diff) | |
Merge branch 'perm-fix' into omap-for-v4.19/fixes-v2
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 */ |
