diff options
Diffstat (limited to 'include/linux/usb/tcpm.h')
-rw-r--r-- | include/linux/usb/tcpm.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/usb/tcpm.h b/include/linux/usb/tcpm.h index 3e8bdaa5085a..f0d839daeaea 100644 --- a/include/linux/usb/tcpm.h +++ b/include/linux/usb/tcpm.h | |||
@@ -16,7 +16,6 @@ | |||
16 | #define __LINUX_USB_TCPM_H | 16 | #define __LINUX_USB_TCPM_H |
17 | 17 | ||
18 | #include <linux/bitops.h> | 18 | #include <linux/bitops.h> |
19 | #include <linux/usb/role.h> | ||
20 | #include <linux/usb/typec.h> | 19 | #include <linux/usb/typec.h> |
21 | #include "pd.h" | 20 | #include "pd.h" |
22 | 21 | ||
@@ -113,14 +112,6 @@ enum tcpc_mux_mode { | |||
113 | TCPC_MUX_DP_ENABLED, | 112 | TCPC_MUX_DP_ENABLED, |
114 | }; | 113 | }; |
115 | 114 | ||
116 | struct tcpc_mux_dev { | ||
117 | int (*set)(struct tcpc_mux_dev *dev, enum tcpc_mux_mode mux_mode, | ||
118 | enum usb_role usb_role, | ||
119 | enum typec_cc_polarity polarity); | ||
120 | bool dfp_only; | ||
121 | void *priv_data; | ||
122 | }; | ||
123 | |||
124 | /** | 115 | /** |
125 | * struct tcpc_dev - Port configuration and callback functions | 116 | * struct tcpc_dev - Port configuration and callback functions |
126 | * @config: Pointer to port configuration | 117 | * @config: Pointer to port configuration |
@@ -172,7 +163,6 @@ struct tcpc_dev { | |||
172 | int (*try_role)(struct tcpc_dev *dev, int role); | 163 | int (*try_role)(struct tcpc_dev *dev, int role); |
173 | int (*pd_transmit)(struct tcpc_dev *dev, enum tcpm_transmit_type type, | 164 | int (*pd_transmit)(struct tcpc_dev *dev, enum tcpm_transmit_type type, |
174 | const struct pd_message *msg); | 165 | const struct pd_message *msg); |
175 | struct tcpc_mux_dev *mux; | ||
176 | }; | 166 | }; |
177 | 167 | ||
178 | struct tcpm_port; | 168 | struct tcpm_port; |