]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/ipmi.h
[PATCH] leds: Amstrad Delta LED support
[linux-2.6-omap-h63xx.git] / include / linux / ipmi.h
index 938d55b813a5f600050fcc557331195b036fa12c..5653b2f23b6a6fdf94f0e1d15ae8cb7436638db0 100644 (file)
@@ -209,6 +209,7 @@ struct kernel_ipmi_msg
  */
 #include <linux/list.h>
 #include <linux/module.h>
+#include <linux/device.h>
 
 #ifdef CONFIG_PROC_FS
 #include <linux/proc_fs.h>
@@ -256,10 +257,7 @@ struct ipmi_recv_msg
 };
 
 /* Allocate and free the receive message. */
-static inline void ipmi_free_recv_msg(struct ipmi_recv_msg *msg)
-{
-       msg->done(msg);
-}
+void ipmi_free_recv_msg(struct ipmi_recv_msg *msg);
 
 struct ipmi_user_hndl
 {
@@ -400,7 +398,7 @@ struct ipmi_smi_watcher
           the watcher list.  So you can add and remove users from the
           IPMI interface, send messages, etc., but you cannot add
           or remove SMI watchers or SMI interfaces. */
-       void (*new_smi)(int if_num);
+       void (*new_smi)(int if_num, struct device *dev);
        void (*smi_gone)(int if_num);
 };