diff options
Diffstat (limited to 'include/linux/usb/tcpm.h')
-rw-r--r-- | include/linux/usb/tcpm.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/linux/usb/tcpm.h b/include/linux/usb/tcpm.h index 073197f0d2bb..ca1c0b57f03f 100644 --- a/include/linux/usb/tcpm.h +++ b/include/linux/usb/tcpm.h | |||
@@ -183,14 +183,14 @@ struct tcpm_port; | |||
183 | struct tcpm_port *tcpm_register_port(struct device *dev, struct tcpc_dev *tcpc); | 183 | struct tcpm_port *tcpm_register_port(struct device *dev, struct tcpc_dev *tcpc); |
184 | void tcpm_unregister_port(struct tcpm_port *port); | 184 | void tcpm_unregister_port(struct tcpm_port *port); |
185 | 185 | ||
186 | void tcpm_update_source_capabilities(struct tcpm_port *port, const u32 *pdo, | 186 | int tcpm_update_source_capabilities(struct tcpm_port *port, const u32 *pdo, |
187 | unsigned int nr_pdo); | 187 | unsigned int nr_pdo); |
188 | void tcpm_update_sink_capabilities(struct tcpm_port *port, const u32 *pdo, | 188 | int tcpm_update_sink_capabilities(struct tcpm_port *port, const u32 *pdo, |
189 | unsigned int nr_pdo, | 189 | unsigned int nr_pdo, |
190 | unsigned int max_snk_mv, | 190 | unsigned int max_snk_mv, |
191 | unsigned int max_snk_ma, | 191 | unsigned int max_snk_ma, |
192 | unsigned int max_snk_mw, | 192 | unsigned int max_snk_mw, |
193 | unsigned int operating_snk_mw); | 193 | unsigned int operating_snk_mw); |
194 | 194 | ||
195 | void tcpm_vbus_change(struct tcpm_port *port); | 195 | void tcpm_vbus_change(struct tcpm_port *port); |
196 | void tcpm_cc_change(struct tcpm_port *port); | 196 | void tcpm_cc_change(struct tcpm_port *port); |