[PATCH] proc_ipmi_root depends on CONFIG_PROC_FS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



proc_ipmi_root is only defined for CONFIG_PROC_FS, #ifdef it for export as well.

Signed-Off-By: Baruch Even <[email protected]>

--
 drivers/char/ipmi/ipmi_msghandler.c |    2 ++
 1 files changed, 2 insertions(+)

Index: k/drivers/char/ipmi/ipmi_msghandler.c
===================================================================
--- k.orig/drivers/char/ipmi/ipmi_msghandler.c
+++ k/drivers/char/ipmi/ipmi_msghandler.c
@@ -3194,5 +3194,7 @@ EXPORT_SYMBOL(ipmi_get_my_address);
 EXPORT_SYMBOL(ipmi_set_my_LUN);
 EXPORT_SYMBOL(ipmi_get_my_LUN);
 EXPORT_SYMBOL(ipmi_smi_add_proc_entry);
+#ifdef CONFIG_PROC_FS
 EXPORT_SYMBOL(proc_ipmi_root);
+#endif
 EXPORT_SYMBOL(ipmi_user_set_run_to_completion);

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux