aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2015-09-08 11:52:06 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2015-09-08 11:52:06 +1000
commitb6348bc0b9ea3e634f9252eabeb69eac859371ef (patch)
tree2212e87c783bde5d44652bb089faa9ff3a18bf6f /include
parentdae00543de22c42320955a2dc786328113d081ad (diff)
parentbf2d087749d91e1fa2826edde1e2fd650d3053ca (diff)
Merge remote-tracking branch 'ipmi/for-next'
Diffstat (limited to 'include')
-rw-r--r--include/linux/ipmi_smi.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/ipmi_smi.h b/include/linux/ipmi_smi.h
index 0b1e569f5ff5..f8cea14485dd 100644
--- a/include/linux/ipmi_smi.h
+++ b/include/linux/ipmi_smi.h
@@ -115,6 +115,11 @@ struct ipmi_smi_handlers {
implement it. */
void (*set_need_watch)(void *send_info, bool enable);
+ /*
+ * Called when flushing all pending messages.
+ */
+ void (*flush_messages)(void *send_info);
+
/* Called when the interface should go into "run to
completion" mode. If this call sets the value to true, the
interface should make sure that all messages are flushed
@@ -207,7 +212,7 @@ static inline int ipmi_demangle_device_id(const unsigned char *data,
upper layer until the start_processing() function in the handlers
is called, and the lower layer must get the interface from that
call. */
-int ipmi_register_smi(struct ipmi_smi_handlers *handlers,
+int ipmi_register_smi(const struct ipmi_smi_handlers *handlers,
void *send_info,
struct ipmi_device_id *device_id,
struct device *dev,