diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-24 23:22:48 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-24 23:22:48 +0100 |
commit | 973d9e743979d4d3f06d8071c22187b2bdc0ef24 (patch) | |
tree | e03b10aa7d9eba73badb000bb1835d8d877f11cd /drivers | |
parent | 213e4b0a3483b8cc99c4578923b9899e84e086e0 (diff) | |
download | op-kernel-dev-973d9e743979d4d3f06d8071c22187b2bdc0ef24.zip op-kernel-dev-973d9e743979d4d3f06d8071c22187b2bdc0ef24.tar.gz |
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')
-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 83643ed..56042a3 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 */ |