/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __USB_TYPEC_MUX__ #define __USB_TYPEC_MUX__ #include <linux/usb/typec_mux.h> struct typec_switch_dev { … }; struct typec_mux_dev { … }; #define to_typec_switch_dev(_dev_) … #define to_typec_mux_dev(_dev_) … extern const struct device_type typec_switch_dev_type; extern const struct device_type typec_mux_dev_type; #define is_typec_switch_dev(dev) … #define is_typec_mux_dev(dev) … #endif /* __USB_TYPEC_MUX__ */