diff options
Diffstat (limited to 'drivers/ide/pci/delkin_cb.c')
-rw-r--r-- | drivers/ide/pci/delkin_cb.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/ide/pci/delkin_cb.c b/drivers/ide/pci/delkin_cb.c index 753b86fc6637..cb9af61da2ee 100644 --- a/drivers/ide/pci/delkin_cb.c +++ b/drivers/ide/pci/delkin_cb.c | |||
@@ -43,6 +43,10 @@ static const u8 setup[] = { | |||
43 | 0x00, 0x00, 0x00, 0x00, 0xa4, 0x83, 0x02, 0x13, | 43 | 0x00, 0x00, 0x00, 0x00, 0xa4, 0x83, 0x02, 0x13, |
44 | }; | 44 | }; |
45 | 45 | ||
46 | static const struct ide_port_ops delkin_cb_port_ops = { | ||
47 | .quirkproc = ide_undecoded_slave, | ||
48 | }; | ||
49 | |||
46 | static int __devinit | 50 | static int __devinit |
47 | delkin_cb_probe (struct pci_dev *dev, const struct pci_device_id *id) | 51 | delkin_cb_probe (struct pci_dev *dev, const struct pci_device_id *id) |
48 | { | 52 | { |
@@ -90,7 +94,7 @@ delkin_cb_probe (struct pci_dev *dev, const struct pci_device_id *id) | |||
90 | 94 | ||
91 | ide_init_port_hw(hwif, &hw); | 95 | ide_init_port_hw(hwif, &hw); |
92 | hwif->mmio = 1; | 96 | hwif->mmio = 1; |
93 | hwif->quirkproc = &ide_undecoded_slave; | 97 | hwif->port_ops = &delkin_cb_port_ops; |
94 | 98 | ||
95 | idx[0] = i; | 99 | idx[0] = i; |
96 | 100 | ||