aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/delkin_cb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/pci/delkin_cb.c')
-rw-r--r--drivers/ide/pci/delkin_cb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ide/pci/delkin_cb.c b/drivers/ide/pci/delkin_cb.c
index b9e457996d0e..5cf59333ef33 100644
--- a/drivers/ide/pci/delkin_cb.c
+++ b/drivers/ide/pci/delkin_cb.c
@@ -79,6 +79,7 @@ delkin_cb_probe (struct pci_dev *dev, const struct pci_device_id *id)
79 memset(&hw, 0, sizeof(hw)); 79 memset(&hw, 0, sizeof(hw));
80 ide_std_init_ports(&hw, base + 0x10, base + 0x1e); 80 ide_std_init_ports(&hw, base + 0x10, base + 0x1e);
81 hw.irq = dev->irq; 81 hw.irq = dev->irq;
82 hw.dev = &dev->dev;
82 hw.chipset = ide_pci; /* this enables IRQ sharing */ 83 hw.chipset = ide_pci; /* this enables IRQ sharing */
83 84
84 hwif = ide_find_port(); 85 hwif = ide_find_port();
@@ -99,7 +100,7 @@ delkin_cb_probe (struct pci_dev *dev, const struct pci_device_id *id)
99 goto out_disable; 100 goto out_disable;
100 101
101 pci_set_drvdata(dev, hwif); 102 pci_set_drvdata(dev, hwif);
102 hwif->dev = &dev->dev; 103
103 drive = &hwif->drives[0]; 104 drive = &hwif->drives[0];
104 if (drive->present) { 105 if (drive->present) {
105 drive->io_32bit = 1; 106 drive->io_32bit = 1;