diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2015-09-09 10:50:27 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2015-09-09 10:50:27 +1000 |
commit | f9d5c818c475105cd2b5ab6589c459ee92e23ef1 (patch) | |
tree | 87a307b98f5f4fc0ef9383d9a28ab18d493a5c5f /include/linux | |
parent | 21b2a6568fe5d6cfaedb48818e58da24232972b9 (diff) | |
parent | bf2d087749d91e1fa2826edde1e2fd650d3053ca (diff) |
Merge remote-tracking branch 'ipmi/for-next'
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/ipmi_smi.h | 7 |
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, |