]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/linux/usb/typec.h
usb: typec: function for checking cable plug orientation
[linux.git] / include / linux / usb / typec.h
index 15f8d9a50b317c466288fe6f817b49acc08bb4a0..6c33b53d116263badd8a67c4290dcf3890c3c13d 100644 (file)
@@ -265,6 +265,7 @@ void typec_set_pwr_opmode(struct typec_port *port, enum typec_pwr_opmode mode);
 
 int typec_set_orientation(struct typec_port *port,
                          enum typec_orientation orientation);
+enum typec_orientation typec_get_orientation(struct typec_port *port);
 int typec_set_mode(struct typec_port *port, int mode);
 
 int typec_find_port_power_role(const char *name);