[2.6 patch] fix advansys.c if !CONFIG_PROC_FS

From: Adrian Bunk
Date: Fri Aug 29 2003 - 13:59:11 EST


The patch below fixes a compile error in drivers/scsi/advansys.c if
!CONFIG_PROC_FS.

Please apply
Adrian

--- linux-2.6.0-test4-mm1/drivers/scsi/advansys.c.old 2003-08-27 16:14:32.000000000 +0200
+++ linux-2.6.0-test4-mm1/drivers/scsi/advansys.c 2003-08-27 16:15:54.000000000 +0200
@@ -6199,7 +6199,9 @@

static Scsi_Host_Template driver_template = {
.proc_name = "advansys",
+#ifdef CONFIG_PROC_FS
.proc_info = advansys_proc_info,
+#endif
.name = "advansys",
.detect = advansys_detect,
.release = advansys_release,
-
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/