diff options
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/NCR5380.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/scsi/NCR5380.c b/drivers/scsi/NCR5380.c index 1e9f82884f70..c1fb33292e56 100644 --- a/drivers/scsi/NCR5380.c +++ b/drivers/scsi/NCR5380.c | |||
@@ -1157,16 +1157,17 @@ static void NCR5380_main(struct work_struct *work) | |||
1157 | * Locks: takes the needed instance locks | 1157 | * Locks: takes the needed instance locks |
1158 | */ | 1158 | */ |
1159 | 1159 | ||
1160 | static irqreturn_t NCR5380_intr(int irq, void *dev_id) | 1160 | static irqreturn_t NCR5380_intr(int dummy, void *dev_id) |
1161 | { | 1161 | { |
1162 | NCR5380_local_declare(); | 1162 | NCR5380_local_declare(); |
1163 | struct Scsi_Host *instance = (struct Scsi_Host *)dev_id; | 1163 | struct Scsi_Host *instance = dev_id; |
1164 | struct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata *) instance->hostdata; | 1164 | struct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata *) instance->hostdata; |
1165 | int done; | 1165 | int done; |
1166 | unsigned char basr; | 1166 | unsigned char basr; |
1167 | unsigned long flags; | 1167 | unsigned long flags; |
1168 | 1168 | ||
1169 | dprintk(NDEBUG_INTR, ("scsi : NCR5380 irq %d triggered\n", irq)); | 1169 | dprintk(NDEBUG_INTR, ("scsi : NCR5380 irq %d triggered\n", |
1170 | instance->irq)); | ||
1170 | 1171 | ||
1171 | do { | 1172 | do { |
1172 | done = 1; | 1173 | done = 1; |