From: Adrian Bunk <bunk@xxxxxxxxx> Add a dummy mega_create_proc_entry() for CONFIG_PROC_FS=n. Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx> Cc: Neela Syam Kolli <Neela.Kolli@xxxxxxxxxxx> Cc: James Bottomley <James.Bottomley@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/scsi/megaraid.c | 4 ++++ 1 files changed, 4 insertions(+) diff -puN drivers/scsi/megaraid.c~drivers-scsi-megaraidc-add-a-dummy-mega_create_proc_entry-for-proc_fs=y drivers/scsi/megaraid.c --- devel/drivers/scsi/megaraid.c~drivers-scsi-megaraidc-add-a-dummy-mega_create_proc_entry-for-proc_fs=y 2006-04-05 21:27:56.000000000 -0700 +++ devel-akpm/drivers/scsi/megaraid.c 2006-04-05 21:27:56.000000000 -0700 @@ -3180,6 +3180,10 @@ proc_rdrv(adapter_t *adapter, char *page return len; } +#else /* CONFIG_PROC_FS */ + +static inline void +mega_create_proc_entry(int index, struct proc_dir_entry *parent) {} #endif _ - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html