linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* drivers/scsi/megaraid.c: add a dummy mega_create_proc_entry() for PROC_FS=y
@ 2006-01-08 14:14 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2006-01-08 14:14 UTC (permalink / raw)
  To: sju; +Cc: James.Bottomley, linux-scsi, linux-kernel

This patch adds a dummy mega_create_proc_entry() for CONFIG_PROC_FS=n.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.15-mm2-full/drivers/scsi/megaraid.c.old	2006-01-08 11:31:28.000000000 +0100
+++ linux-2.6.15-mm2-full/drivers/scsi/megaraid.c	2006-01-08 11:33:43.000000000 +0100
@@ -3179,6 +3179,10 @@
 
 	return len;
 }
+#else  /*  CONFIG_PROC_FS  */
+
+static inline void
+mega_create_proc_entry(int index, struct proc_dir_entry *parent) {}
 
 #endif
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* drivers/scsi/megaraid.c: add a dummy mega_create_proc_entry() for PROC_FS=y
@ 2006-01-21 19:44 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2006-01-21 19:44 UTC (permalink / raw)
  To: Andrew Morton; +Cc: sju, James.Bottomley, linux-scsi, linux-kernel

This patch adds a dummy mega_create_proc_entry() for CONFIG_PROC_FS=n.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

This patch was already sent on:
- 8 Jan 2006

--- linux-2.6.15-mm2-full/drivers/scsi/megaraid.c.old	2006-01-08 11:31:28.000000000 +0100
+++ linux-2.6.15-mm2-full/drivers/scsi/megaraid.c	2006-01-08 11:33:43.000000000 +0100
@@ -3179,6 +3179,10 @@
 
 	return len;
 }
+#else  /*  CONFIG_PROC_FS  */
+
+static inline void
+mega_create_proc_entry(int index, struct proc_dir_entry *parent) {}
 
 #endif
 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-21 19:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-21 19:44 drivers/scsi/megaraid.c: add a dummy mega_create_proc_entry() for PROC_FS=y Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2006-01-08 14:14 Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).