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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/ide/pci/delkin_cb.c b/drivers/ide/pci/delkin_cb.c
index 26aa492071bb..27e47fc97100 100644
--- a/drivers/ide/pci/delkin_cb.c
+++ b/drivers/ide/pci/delkin_cb.c
@@ -1,6 +1,4 @@
1/* 1/*
2 * linux/drivers/ide/pci/delkin_cb.c
3 *
4 * Created 20 Oct 2004 by Mark Lord 2 * Created 20 Oct 2004 by Mark Lord
5 * 3 *
6 * Basic support for Delkin/ASKA/Workbit Cardbus CompactFlash adapter 4 * Basic support for Delkin/ASKA/Workbit Cardbus CompactFlash adapter
@@ -87,7 +85,7 @@ delkin_cb_probe (struct pci_dev *dev, const struct pci_device_id *id)
87 return -ENODEV; 85 return -ENODEV;
88 } 86 }
89 pci_set_drvdata(dev, hwif); 87 pci_set_drvdata(dev, hwif);
90 hwif->pci_dev = dev; 88 hwif->dev = &dev->dev;
91 drive = &hwif->drives[0]; 89 drive = &hwif->drives[0];
92 if (drive->present) { 90 if (drive->present) {
93 drive->io_32bit = 1; 91 drive->io_32bit = 1;