hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/include/linux/usb/typec.h
....@@ -141,17 +141,9 @@
141141 *typec_port_register_altmode(struct typec_port *port,
142142 const struct typec_altmode_desc *desc);
143143
144
-#ifdef CONFIG_NO_GKI
145144 void typec_port_register_altmodes(struct typec_port *port,
146145 const struct typec_altmode_ops *ops, void *drvdata,
147146 struct typec_altmode **altmodes, size_t n);
148
-#else
149
-static inline void typec_port_register_altmodes(struct typec_port *port,
150
- const struct typec_altmode_ops *ops, void *drvdata,
151
- struct typec_altmode **altmodes, size_t n)
152
-{
153
-}
154
-#endif
155147
156148 void typec_unregister_altmode(struct typec_altmode *altmode);
157149