diff options
-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) | |||
286 | } | 286 | } |
287 | 287 | ||
288 | if (!using_inta) | 288 | if (!using_inta) |
289 | hwif->irq = __ide_default_irq(hwif->io_ports.data_addr); | 289 | hwif->irq = pci_get_legacy_ide_irq(dev, hwif->channel); |
290 | else if (!hwif->irq && hwif->mate && hwif->mate->irq) | 290 | else if (!hwif->irq && hwif->mate && hwif->mate->irq) |
291 | hwif->irq = hwif->mate->irq; /* share IRQ with mate */ | 291 | hwif->irq = hwif->mate->irq; /* share IRQ with mate */ |
292 | 292 | ||