From 04dd17822334871b23ea2862f7798fb0e0007777 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Sat, 11 May 2024 08:53:19 +0000 Subject: [PATCH] change otg to host mode --- kernel/include/linux/usb/typec.h | 8 -------- 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/kernel/include/linux/usb/typec.h b/kernel/include/linux/usb/typec.h index 34cc102..8859426 100644 --- a/kernel/include/linux/usb/typec.h +++ b/kernel/include/linux/usb/typec.h @@ -141,17 +141,9 @@ *typec_port_register_altmode(struct typec_port *port, const struct typec_altmode_desc *desc); -#ifdef CONFIG_NO_GKI void typec_port_register_altmodes(struct typec_port *port, const struct typec_altmode_ops *ops, void *drvdata, struct typec_altmode **altmodes, size_t n); -#else -static inline void typec_port_register_altmodes(struct typec_port *port, - const struct typec_altmode_ops *ops, void *drvdata, - struct typec_altmode **altmodes, size_t n) -{ -} -#endif void typec_unregister_altmode(struct typec_altmode *altmode); -- Gitblit v1.6.2