aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/pdc202xx_old.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/pci/pdc202xx_old.c')
-rw-r--r--drivers/ide/pci/pdc202xx_old.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/pci/pdc202xx_old.c b/drivers/ide/pci/pdc202xx_old.c
index d0efe17d831..9aacc2f2876 100644
--- a/drivers/ide/pci/pdc202xx_old.c
+++ b/drivers/ide/pci/pdc202xx_old.c
@@ -390,7 +390,7 @@ static void __devinit pdc202ata4_fixup_irq(struct pci_dev *dev,
390 .udma_mask = udma, \ 390 .udma_mask = udma, \
391 } 391 }
392 392
393static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = { 393static struct ide_port_info pdc202xx_chipsets[] __devinitdata = {
394 { /* 0 */ 394 { /* 0 */
395 .name = "PDC20246", 395 .name = "PDC20246",
396 .init_chipset = init_chipset_pdc202xx, 396 .init_chipset = init_chipset_pdc202xx,
@@ -421,7 +421,7 @@ static ide_pci_device_t pdc202xx_chipsets[] __devinitdata = {
421 421
422static int __devinit pdc202xx_init_one(struct pci_dev *dev, const struct pci_device_id *id) 422static int __devinit pdc202xx_init_one(struct pci_dev *dev, const struct pci_device_id *id)
423{ 423{
424 ide_pci_device_t *d; 424 struct ide_port_info *d;
425 u8 idx = id->driver_data; 425 u8 idx = id->driver_data;
426 426
427 d = &pdc202xx_chipsets[idx]; 427 d = &pdc202xx_chipsets[idx];