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