diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-17 18:46:21 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-17 18:46:21 -0400 |
commit | 4f0eee4d877e3b617b6a22d209d52b3dfca2b2a7 (patch) | |
tree | 87603afcdc56a97b0a32e7d1fab2ea588fc36da4 /drivers/ide/pci | |
parent | 2625cd52b6eafb63b72f2e53f933f41ba9e34dff (diff) |
ide: use ide_find_port() instead of ide_deprecated_find_port()
* Use ide_find_port() instead of ide_deprecated_find_port() in bast-ide/
palm_bk3710/ide-cs/delkin_cb host drivers and in ide_register_hw().
* Remove no longer needed ide_deprecated_find_port().
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci')
-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 3f9cd64c26a6..e08e13a0bb6e 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) | |||
78 | hw.irq = dev->irq; | 78 | hw.irq = dev->irq; |
79 | hw.chipset = ide_pci; /* this enables IRQ sharing */ | 79 | hw.chipset = ide_pci; /* this enables IRQ sharing */ |
80 | 80 | ||
81 | hwif = ide_deprecated_find_port(hw.io_ports[IDE_DATA_OFFSET]); | 81 | hwif = ide_find_port(hw.io_ports[IDE_DATA_OFFSET]); |
82 | if (hwif == NULL) | 82 | if (hwif == NULL) |
83 | goto out_disable; | 83 | goto out_disable; |
84 | 84 | ||