diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-05 19:32:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-05 19:32:01 -0400 |
commit | 44aefd2706bb6f5b65ba2c38cd89e7609e2b43d3 (patch) | |
tree | 93824f573767da634fbc82c388b6d33cc454212b /drivers/ata/sata_mv.c | |
parent | c1a26e7d40fb814716950122353a1a556844286b (diff) | |
parent | 7d12e780e003f93433d49ce78cfedf4b4c52adc5 (diff) |
Merge git://git.infradead.org/~dhowells/irq-2.6
* git://git.infradead.org/~dhowells/irq-2.6:
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
IRQ: Typedef the IRQ handler function type
IRQ: Typedef the IRQ flow handler function type
Diffstat (limited to 'drivers/ata/sata_mv.c')
-rw-r--r-- | drivers/ata/sata_mv.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c index e6aa1a86d5cf..1b8e0eb9e032 100644 --- a/drivers/ata/sata_mv.c +++ b/drivers/ata/sata_mv.c | |||
@@ -348,8 +348,7 @@ static void mv_port_stop(struct ata_port *ap); | |||
348 | static void mv_qc_prep(struct ata_queued_cmd *qc); | 348 | static void mv_qc_prep(struct ata_queued_cmd *qc); |
349 | static void mv_qc_prep_iie(struct ata_queued_cmd *qc); | 349 | static void mv_qc_prep_iie(struct ata_queued_cmd *qc); |
350 | static unsigned int mv_qc_issue(struct ata_queued_cmd *qc); | 350 | static unsigned int mv_qc_issue(struct ata_queued_cmd *qc); |
351 | static irqreturn_t mv_interrupt(int irq, void *dev_instance, | 351 | static irqreturn_t mv_interrupt(int irq, void *dev_instance); |
352 | struct pt_regs *regs); | ||
353 | static void mv_eng_timeout(struct ata_port *ap); | 352 | static void mv_eng_timeout(struct ata_port *ap); |
354 | static int mv_init_one(struct pci_dev *pdev, const struct pci_device_id *ent); | 353 | static int mv_init_one(struct pci_dev *pdev, const struct pci_device_id *ent); |
355 | 354 | ||
@@ -1448,8 +1447,7 @@ static void mv_host_intr(struct ata_host *host, u32 relevant, unsigned int hc) | |||
1448 | * This routine holds the host lock while processing pending | 1447 | * This routine holds the host lock while processing pending |
1449 | * interrupts. | 1448 | * interrupts. |
1450 | */ | 1449 | */ |
1451 | static irqreturn_t mv_interrupt(int irq, void *dev_instance, | 1450 | static irqreturn_t mv_interrupt(int irq, void *dev_instance) |
1452 | struct pt_regs *regs) | ||
1453 | { | 1451 | { |
1454 | struct ata_host *host = dev_instance; | 1452 | struct ata_host *host = dev_instance; |
1455 | unsigned int hc, handled = 0, n_hcs; | 1453 | unsigned int hc, handled = 0, n_hcs; |