diff options
Diffstat (limited to 'drivers/ide/pdc202xx_old.c')
-rw-r--r-- | drivers/ide/pdc202xx_old.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ide/pdc202xx_old.c b/drivers/ide/pdc202xx_old.c index 563451096812..224ad46d6cb2 100644 --- a/drivers/ide/pdc202xx_old.c +++ b/drivers/ide/pdc202xx_old.c | |||
@@ -211,8 +211,7 @@ out: | |||
211 | return 0; | 211 | return 0; |
212 | } | 212 | } |
213 | 213 | ||
214 | static void __devinit pdc202ata4_fixup_irq(struct pci_dev *dev, | 214 | static void pdc202ata4_fixup_irq(struct pci_dev *dev, const char *name) |
215 | const char *name) | ||
216 | { | 215 | { |
217 | if ((dev->class >> 8) != PCI_CLASS_STORAGE_IDE) { | 216 | if ((dev->class >> 8) != PCI_CLASS_STORAGE_IDE) { |
218 | u8 irq = 0, irq2 = 0; | 217 | u8 irq = 0, irq2 = 0; |
@@ -270,7 +269,7 @@ static const struct ide_dma_ops pdc2026x_dma_ops = { | |||
270 | .max_sectors = sectors, \ | 269 | .max_sectors = sectors, \ |
271 | } | 270 | } |
272 | 271 | ||
273 | static const struct ide_port_info pdc202xx_chipsets[] __devinitconst = { | 272 | static const struct ide_port_info pdc202xx_chipsets[] = { |
274 | { /* 0: PDC20246 */ | 273 | { /* 0: PDC20246 */ |
275 | .name = DRV_NAME, | 274 | .name = DRV_NAME, |
276 | .init_chipset = init_chipset_pdc202xx, | 275 | .init_chipset = init_chipset_pdc202xx, |
@@ -297,7 +296,8 @@ static const struct ide_port_info pdc202xx_chipsets[] __devinitconst = { | |||
297 | * finds a device matching our IDE device tables. | 296 | * finds a device matching our IDE device tables. |
298 | */ | 297 | */ |
299 | 298 | ||
300 | static int __devinit pdc202xx_init_one(struct pci_dev *dev, const struct pci_device_id *id) | 299 | static int pdc202xx_init_one(struct pci_dev *dev, |
300 | const struct pci_device_id *id) | ||
301 | { | 301 | { |
302 | const struct ide_port_info *d; | 302 | const struct ide_port_info *d; |
303 | u8 idx = id->driver_data; | 303 | u8 idx = id->driver_data; |