From: Henrik Kretzschmar <[email protected]>
Chenges obsolete typedef'd Scsi_Cmnd into struct scsi_cmnd for drivers
which use 53c7xx.
Signed-off-by: Henrik Kretzschmar <[email protected]>
---
diff -ruN linux-2.6/drivers/scsi/amiga7xx.h devel/drivers/scsi/amiga7xx.h
--- linux-2.6/drivers/scsi/amiga7xx.h 2006-08-01 01:31:43.000000000 +0200
+++ devel/drivers/scsi/amiga7xx.h 2006-09-12 21:13:15.000000000 +0200
@@ -4,10 +4,11 @@
int amiga7xx_detect(struct scsi_host_template *);
const char *NCR53c7x0_info(void);
-int NCR53c7xx_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
-int NCR53c7xx_abort(Scsi_Cmnd *);
+int NCR53c7xx_queue_command(struct scsi_cmnd *,
+ void (*done) (struct scsi_cmnd *));
+int NCR53c7xx_abort(struct scsi_cmnd *);
int NCR53c7x0_release (struct Scsi_Host *);
-int NCR53c7xx_reset(Scsi_Cmnd *, unsigned int);
+int NCR53c7xx_reset(struct scsi_cmnd *, unsigned int);
void NCR53c7x0_intr(int irq, void *dev_id, struct pt_regs * regs);
#ifndef CMD_PER_LUN
diff -ruN linux-2.6/drivers/scsi/bvme6000.h devel/drivers/scsi/bvme6000.h
--- linux-2.6/drivers/scsi/bvme6000.h 2006-08-01 01:31:43.000000000 +0200
+++ devel/drivers/scsi/bvme6000.h 2006-09-12 21:18:50.000000000 +0200
@@ -5,10 +5,11 @@
int bvme6000_scsi_detect(struct scsi_host_template *);
const char *NCR53c7x0_info(void);
-int NCR53c7xx_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
-int NCR53c7xx_abort(Scsi_Cmnd *);
+int NCR53c7xx_queue_command(struct scsi_cmnd *,
+ void (*done) (struct scsi_cmnd *));
+int NCR53c7xx_abort(struct scsi_cmnd *);
int NCR53c7x0_release (struct Scsi_Host *);
-int NCR53c7xx_reset(Scsi_Cmnd *, unsigned int);
+int NCR53c7xx_reset(struct scsi_cmnd *, unsigned int);
void NCR53c7x0_intr(int irq, void *dev_id, struct pt_regs * regs);
#ifndef CMD_PER_LUN
diff -ruN linux-2.6/drivers/scsi/mvme16x.h devel/drivers/scsi/mvme16x.h
--- linux-2.6/drivers/scsi/mvme16x.h 2006-08-01 01:31:43.000000000 +0200
+++ devel/drivers/scsi/mvme16x.h 2006-09-12 21:16:20.000000000 +0200
@@ -5,10 +5,11 @@
int mvme16x_scsi_detect(struct scsi_host_template *);
const char *NCR53c7x0_info(void);
-int NCR53c7xx_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
-int NCR53c7xx_abort(Scsi_Cmnd *);
+int NCR53c7xx_queue_command(struct scsi_cmnd *,
+ void (*done) (struct scsi_cmnd *));
+int NCR53c7xx_abort(struct scsi_cmnd *);
int NCR53c7x0_release (struct Scsi_Host *);
-int NCR53c7xx_reset(Scsi_Cmnd *, unsigned int);
+int NCR53c7xx_reset(struct scsi_cmnd *, unsigned int);
void NCR53c7x0_intr(int irq, void *dev_id, struct pt_regs * regs);
#ifndef CMD_PER_LUN
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]