Commit 6eadbe0c authored by John W. Fort's avatar John W. Fort Committed by Christoph Hellwig

In patch-2.5.44 Mike Anderson <andmike@us.ibm.com> made a cleanup to the

Scsi Host setup.

This caused the following errors on trying to compile.

drivers/scsi/inia100.c:98: unknown field `next' specified in initializer
drivers/scsi/inia100.c:98: warning: missing braces around initializer
drivers/scsi/inia100.c:98: warning: (near initialization for `driver_template.shtp_list')
drivers/scsi/inia100.c:98: unknown field `module' specified in initializer
drivers/scsi/inia100.c:98: unknown field `proc_name' specified in initializer
drivers/scsi/inia100.c:98: warning: initialization from incompatible pointer type
make[2]: *** [drivers/scsi/inia100.o] Error 1

Several of the drivers Mike modified only had the one-line change to remove
the 'next' field.  I tried it and bingo, it works and passed my tests.

The version change is what Doug Ledford intended in patch-2.5.25 back in
June 2002.  (See inia100.c "inia100_Version")
parent f259cb39
...@@ -85,10 +85,9 @@ extern int inia100_reset(Scsi_Cmnd *, unsigned int); ...@@ -85,10 +85,9 @@ extern int inia100_reset(Scsi_Cmnd *, unsigned int);
extern int inia100_biosparam(Scsi_Disk *, struct block_device *, int *); extern int inia100_biosparam(Scsi_Disk *, struct block_device *, int *);
#define inia100_REVID "Initio INI-A100U2W SCSI device driver; Revision: 1.02c" #define inia100_REVID "Initio INI-A100U2W SCSI device driver; Revision: 1.02d"
#define INIA100 { \ #define INIA100 { \
next: NULL, \
module: NULL, \ module: NULL, \
proc_name: "inia100", \ proc_name: "inia100", \
proc_info: NULL, \ proc_info: NULL, \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment