[2.6 patch] fix advansys.c if !CONFIG_PROC_FS
From: Adrian Bunk (bunk_at_fs.tum.de)
Date: 08/29/03
- Previous message: J.A. Magallon: "Re: [2.4] gcc3 warns about type-punned pointers ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 29 Aug 2003 20:56:31 +0200 To: support@connectcom.net
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: J.A. Magallon: "Re: [2.4] gcc3 warns about type-punned pointers ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|