diff options
Diffstat (limited to 'drivers/scsi/mesh.c')
-rw-r--r-- | drivers/scsi/mesh.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/mesh.c b/drivers/scsi/mesh.c index 683fc7ae4b8f..c773e35dace7 100644 --- a/drivers/scsi/mesh.c +++ b/drivers/scsi/mesh.c | |||
@@ -185,7 +185,7 @@ struct mesh_state { | |||
185 | * Driver is too messy, we need a few prototypes... | 185 | * Driver is too messy, we need a few prototypes... |
186 | */ | 186 | */ |
187 | static void mesh_done(struct mesh_state *ms, int start_next); | 187 | static void mesh_done(struct mesh_state *ms, int start_next); |
188 | static void mesh_interrupt(int irq, void *dev_id, struct pt_regs *ptregs); | 188 | static void mesh_interrupt(int irq, void *dev_id); |
189 | static void cmd_complete(struct mesh_state *ms); | 189 | static void cmd_complete(struct mesh_state *ms); |
190 | static void set_dma_cmds(struct mesh_state *ms, struct scsi_cmnd *cmd); | 190 | static void set_dma_cmds(struct mesh_state *ms, struct scsi_cmnd *cmd); |
191 | static void halt_dma(struct mesh_state *ms); | 191 | static void halt_dma(struct mesh_state *ms); |
@@ -1015,13 +1015,13 @@ static void handle_reset(struct mesh_state *ms) | |||
1015 | out_8(&mr->sequence, SEQ_ENBRESEL); | 1015 | out_8(&mr->sequence, SEQ_ENBRESEL); |
1016 | } | 1016 | } |
1017 | 1017 | ||
1018 | static irqreturn_t do_mesh_interrupt(int irq, void *dev_id, struct pt_regs *ptregs) | 1018 | static irqreturn_t do_mesh_interrupt(int irq, void *dev_id) |
1019 | { | 1019 | { |
1020 | unsigned long flags; | 1020 | unsigned long flags; |
1021 | struct Scsi_Host *dev = ((struct mesh_state *)dev_id)->host; | 1021 | struct Scsi_Host *dev = ((struct mesh_state *)dev_id)->host; |
1022 | 1022 | ||
1023 | spin_lock_irqsave(dev->host_lock, flags); | 1023 | spin_lock_irqsave(dev->host_lock, flags); |
1024 | mesh_interrupt(irq, dev_id, ptregs); | 1024 | mesh_interrupt(irq, dev_id); |
1025 | spin_unlock_irqrestore(dev->host_lock, flags); | 1025 | spin_unlock_irqrestore(dev->host_lock, flags); |
1026 | return IRQ_HANDLED; | 1026 | return IRQ_HANDLED; |
1027 | } | 1027 | } |
@@ -1661,7 +1661,7 @@ static int mesh_queue(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd *)) | |||
1661 | * handler (do_mesh_interrupt) or by other functions in | 1661 | * handler (do_mesh_interrupt) or by other functions in |
1662 | * exceptional circumstances | 1662 | * exceptional circumstances |
1663 | */ | 1663 | */ |
1664 | static void mesh_interrupt(int irq, void *dev_id, struct pt_regs *ptregs) | 1664 | static void mesh_interrupt(int irq, void *dev_id) |
1665 | { | 1665 | { |
1666 | struct mesh_state *ms = (struct mesh_state *) dev_id; | 1666 | struct mesh_state *ms = (struct mesh_state *) dev_id; |
1667 | volatile struct mesh_regs __iomem *mr = ms->mesh; | 1667 | volatile struct mesh_regs __iomem *mr = ms->mesh; |