[PATCH] proc_ipmi_root depends on CONFIG_PROC_FS

From: Baruch Even
Date: Wed Aug 17 2005 - 17:20:16 EST


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

Signed-Off-By: Baruch Even <baruch@xxxxxxxxx>

--
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);