]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/ipmi.h
[PATCH] ipmi: add full sysfs support
[net-next-2.6.git] / include / linux / ipmi.h
index d6276e60b3bf3672343046f49c63d0af3e2b9987..0a84b56935c20450205dc976c5912867e23c5d3c 100644 (file)
@@ -36,6 +36,7 @@
 
 #include <linux/ipmi_msgdefs.h>
 #include <linux/compiler.h>
+#include <linux/device.h>
 
 /*
  * This file describes an interface to an IPMI driver.  You have to
@@ -397,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);
 };