public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] proc_ipmi_root depends on CONFIG_PROC_FS
@ 2005-08-17 22:19 Baruch Even
  0 siblings, 0 replies; only message in thread
From: Baruch Even @ 2005-08-17 22:19 UTC (permalink / raw)
  To: kernel list, kernel-janitors, Corey Minyard

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: ipmi_proc_fs.patch --]
[-- Type: text/x-patch, Size: 693 bytes --]

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

Signed-Off-By: Baruch Even <baruch@ev-en.org>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-08-17 22:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-17 22:19 [PATCH] proc_ipmi_root depends on CONFIG_PROC_FS Baruch Even

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox