]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/ipmi.h
[PATCH] lockdep: annotate waitqueues
[linux-2.6-omap-h63xx.git] / include / linux / ipmi.h
index d6276e60b3bf3672343046f49c63d0af3e2b9987..d09fbeabf1dc976539384f1889299bfc2e69383e 100644 (file)
@@ -209,11 +209,8 @@ struct kernel_ipmi_msg
  */
 #include <linux/list.h>
 #include <linux/module.h>
-
-#ifdef CONFIG_PROC_FS
+#include <linux/device.h>
 #include <linux/proc_fs.h>
-extern struct proc_dir_entry *proc_ipmi_root;
-#endif /* CONFIG_PROC_FS */
 
 /* Opaque type for a IPMI message user.  One of these is needed to
    send and receive messages. */
@@ -397,7 +394,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);
 };