X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fipmi.h;fp=include%2Flinux%2Fipmi.h;h=d6276e60b3bf3672343046f49c63d0af3e2b9987;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=d09fbeabf1dc976539384f1889299bfc2e69383e;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/include/linux/ipmi.h b/include/linux/ipmi.h index d09fbeabf..d6276e60b 100644 --- a/include/linux/ipmi.h +++ b/include/linux/ipmi.h @@ -209,8 +209,11 @@ struct kernel_ipmi_msg */ #include #include -#include + +#ifdef CONFIG_PROC_FS #include +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. */ @@ -394,7 +397,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, struct device *dev); + void (*new_smi)(int if_num); void (*smi_gone)(int if_num); };