From 05e59e5fb0064c97a1c10921ecd549f2d4a58565 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Wed, 09 Oct 2024 06:14:40 +0000
Subject: [PATCH] add REDIRECT

---
 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