drivers/scsi/megaraid.c: add a dummy mega_create_proc_entry() for PROC_FS=y

Adrian Bunk
2006-01-21T19:44:18Z

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