]> git.hungrycats.org Git - linux/commitdiff
[SCSI] Fix powertec.c build errors.
authorRussell King <rmk@flint.arm.linux.org.uk>
Sat, 21 Jun 2003 17:14:52 +0000 (18:14 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Sat, 21 Jun 2003 17:14:52 +0000 (18:14 +0100)
drivers/scsi/arm/powertec.c

index ee8ddf6f68669eef81bda1ca58eea97b48137fce..31320862d25c2fdcdcb72c498400564789a585be 100644 (file)
@@ -235,18 +235,17 @@ powertecscsi_set_proc_info(struct Scsi_Host *host, char *buffer, int length)
  *                     of the required information.
  *           offset  - offset into information that we have read upto.
  *           length  - length of buffer
- *           host_no - host number to return information for
  *           inout   - 0 for reading, 1 for writing.
  * Returns  : length of data written to buffer.
  */
 int powertecscsi_proc_info(struct Scsi_Host *host, char *buffer, char **start, off_t offset,
-                           int length, int host_no, int inout)
+                           int length, int inout)
 {
        struct powertec_info *info;
        char *p = buffer;
        int pos;
 
-       If (inout == 1)
+       if (inout == 1)
                return powertecscsi_set_proc_info(host, buffer, length);
 
        info = (struct powertec_info *)host->hostdata;