From f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Wed, 31 Jan 2024 01:04:47 +0000
Subject: [PATCH] add driver 5G

---
 kernel/include/linux/ipmi.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/kernel/include/linux/ipmi.h b/kernel/include/linux/ipmi.h
index 41f5c08..52850a0 100644
--- a/kernel/include/linux/ipmi.h
+++ b/kernel/include/linux/ipmi.h
@@ -27,7 +27,7 @@
  * Opaque type for a IPMI message user.  One of these is needed to
  * send and receive messages.
  */
-typedef struct ipmi_user *ipmi_user_t;
+struct ipmi_user;
 
 /*
  * Stuff coming from the receive interface comes as one of these.
@@ -333,4 +333,6 @@
 /* This is to get the private info of struct ipmi_smi */
 extern int ipmi_get_smi_info(int if_num, struct ipmi_smi_info *data);
 
+#define GET_DEVICE_ID_MAX_RETRY		5
+
 #endif /* __LINUX_IPMI_H */

--
Gitblit v1.6.2