diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-25 01:22:48 +0300 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-25 01:22:48 +0300 |
commit | 973d9e743979d4d3f06d8071c22187b2bdc0ef24 (patch) | |
tree | e03b10aa7d9eba73badb000bb1835d8d877f11cd /drivers/ide/ns87415.c | |
parent | 213e4b0a3483b8cc99c4578923b9899e84e086e0 (diff) | |
download | linux-973d9e743979d4d3f06d8071c22187b2bdc0ef24.tar.xz |
ns87415: use pci_get_legacy_ide_irq()
Fix ->init_hwif to use pci_get_legacy_ide_irq() instead of
__ide_default_irq().
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ns87415.c')
-rw-r--r-- | drivers/ide/ns87415.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ns87415.c b/drivers/ide/ns87415.c index 83643ed9a426..56042a36d635 100644 --- a/drivers/ide/ns87415.c +++ b/drivers/ide/ns87415.c @@ -286,7 +286,7 @@ static void __devinit init_hwif_ns87415 (ide_hwif_t *hwif) } if (!using_inta) - hwif->irq = __ide_default_irq(hwif->io_ports.data_addr); + hwif->irq = pci_get_legacy_ide_irq(dev, hwif->channel); else if (!hwif->irq && hwif->mate && hwif->mate->irq) hwif->irq = hwif->mate->irq; /* share IRQ with mate */ |