From 093a6c67005148ae32a5c9e4553491b9f5c2457b Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 10 May 2024 07:40:51 +0000
Subject: [PATCH] disable kernel build waring
---
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