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

From: Adrian Bunk
Date: Sat Jan 21 2006 - 14:42:45 EST


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


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---

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


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/