2003-08-29 18:56:45

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] fix advansys.c if !CONFIG_PROC_FS

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,