diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-26 17:36:32 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-26 17:36:32 +0200 |
commit | 59bff5ba5529feac3a0214d897b1920cbe4e2278 (patch) | |
tree | d849fb6c526077f96512b8253c924fba1ec5cb12 /drivers/ide/pci/delkin_cb.c | |
parent | bad7c825cb27377faf1c926953aa15c980c62620 (diff) | |
download | linux-3.10-59bff5ba5529feac3a0214d897b1920cbe4e2278.tar.gz linux-3.10-59bff5ba5529feac3a0214d897b1920cbe4e2278.tar.bz2 linux-3.10-59bff5ba5529feac3a0214d897b1920cbe4e2278.zip |
ide: cleanup ide_find_port()
Remove no longer needed matching against I/O base and 'base' argument.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci/delkin_cb.c')
-rw-r--r-- | drivers/ide/pci/delkin_cb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/pci/delkin_cb.c b/drivers/ide/pci/delkin_cb.c index 961698d655e..53857f80966 100644 --- a/drivers/ide/pci/delkin_cb.c +++ b/drivers/ide/pci/delkin_cb.c @@ -78,7 +78,7 @@ delkin_cb_probe (struct pci_dev *dev, const struct pci_device_id *id) hw.irq = dev->irq; hw.chipset = ide_pci; /* this enables IRQ sharing */ - hwif = ide_find_port(hw.io_ports[IDE_DATA_OFFSET]); + hwif = ide_find_port(); if (hwif == NULL) goto out_disable; |