From: Hector Martin <marcan@xxxxxxxxx> Some muxes may need to know the data role that is being switched to, such as to direct the data pins to separate host/device controllers or configure a unified PHY correctly. Signed-off-by: Hector Martin <marcan@xxxxxxxxx> Signed-off-by: Sven Peter <sven@xxxxxxxxxx> --- include/linux/usb/typec_mux.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/usb/typec_mux.h b/include/linux/usb/typec_mux.h index 2489a7857d8e10a73450a66ee85b5068f401f047..89b64ed081aecaa70529aaa717579c0dc7a5f961 100644 --- a/include/linux/usb/typec_mux.h +++ b/include/linux/usb/typec_mux.h @@ -45,6 +45,7 @@ void *typec_switch_get_drvdata(struct typec_switch_dev *sw); struct typec_mux_state { struct typec_altmode *alt; unsigned long mode; + enum typec_data_role data_role; void *data; }; -- 2.34.1