diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-16 20:33:39 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-16 20:33:39 +0200 |
commit | 256c5f8eef7b9a8c8a85c15c58cda9df455f947e (patch) | |
tree | cecc145a78f140de8e623b1563c4d758290e2ae8 /drivers/ide/pci | |
parent | 9ad540937554a3779c5fe7af13aa390b1d2aeb3e (diff) | |
download | linux-3.10-256c5f8eef7b9a8c8a85c15c58cda9df455f947e.tar.gz linux-3.10-256c5f8eef7b9a8c8a85c15c58cda9df455f947e.tar.bz2 linux-3.10-256c5f8eef7b9a8c8a85c15c58cda9df455f947e.zip |
ide: fix hwif-s initialization
* Add ide_hwifs[] entry initialization to ide_find_port_slot()
and remove ide_init_port_data() calls from host drivers.
* Unexport ide_init_port_data().
* Remove no longer needed init_ide_data().
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci')
-rw-r--r-- | drivers/ide/pci/delkin_cb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ide/pci/delkin_cb.c b/drivers/ide/pci/delkin_cb.c index af0f30051d5..0106e2a2df7 100644 --- a/drivers/ide/pci/delkin_cb.c +++ b/drivers/ide/pci/delkin_cb.c @@ -93,7 +93,6 @@ delkin_cb_probe (struct pci_dev *dev, const struct pci_device_id *id) i = hwif->index; - ide_init_port_data(hwif, i); ide_init_port_hw(hwif, &hw); idx[0] = i; |