diff options
Diffstat (limited to 'drivers/ide/it821x.c')
-rw-r--r-- | drivers/ide/it821x.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/ide/it821x.c b/drivers/ide/it821x.c index c5611dbca342..f01ba4606be0 100644 --- a/drivers/ide/it821x.c +++ b/drivers/ide/it821x.c | |||
@@ -528,7 +528,7 @@ static struct ide_dma_ops it821x_pass_through_dma_ops = { | |||
528 | * ide DMA handlers appropriately | 528 | * ide DMA handlers appropriately |
529 | */ | 529 | */ |
530 | 530 | ||
531 | static void __devinit init_hwif_it821x(ide_hwif_t *hwif) | 531 | static void init_hwif_it821x(ide_hwif_t *hwif) |
532 | { | 532 | { |
533 | struct pci_dev *dev = to_pci_dev(hwif->dev); | 533 | struct pci_dev *dev = to_pci_dev(hwif->dev); |
534 | struct ide_host *host = pci_get_drvdata(dev); | 534 | struct ide_host *host = pci_get_drvdata(dev); |
@@ -630,7 +630,7 @@ static const struct ide_port_ops it821x_port_ops = { | |||
630 | .cable_detect = it821x_cable_detect, | 630 | .cable_detect = it821x_cable_detect, |
631 | }; | 631 | }; |
632 | 632 | ||
633 | static const struct ide_port_info it821x_chipset __devinitconst = { | 633 | static const struct ide_port_info it821x_chipset = { |
634 | .name = DRV_NAME, | 634 | .name = DRV_NAME, |
635 | .init_chipset = init_chipset_it821x, | 635 | .init_chipset = init_chipset_it821x, |
636 | .init_hwif = init_hwif_it821x, | 636 | .init_hwif = init_hwif_it821x, |
@@ -647,7 +647,7 @@ static const struct ide_port_info it821x_chipset __devinitconst = { | |||
647 | * We then use the IDE PCI generic helper to do most of the work. | 647 | * We then use the IDE PCI generic helper to do most of the work. |
648 | */ | 648 | */ |
649 | 649 | ||
650 | static int __devinit it821x_init_one(struct pci_dev *dev, const struct pci_device_id *id) | 650 | static int it821x_init_one(struct pci_dev *dev, const struct pci_device_id *id) |
651 | { | 651 | { |
652 | struct it821x_dev *itdevs; | 652 | struct it821x_dev *itdevs; |
653 | int rc; | 653 | int rc; |
@@ -667,7 +667,7 @@ static int __devinit it821x_init_one(struct pci_dev *dev, const struct pci_devic | |||
667 | return rc; | 667 | return rc; |
668 | } | 668 | } |
669 | 669 | ||
670 | static void __devexit it821x_remove(struct pci_dev *dev) | 670 | static void it821x_remove(struct pci_dev *dev) |
671 | { | 671 | { |
672 | struct ide_host *host = pci_get_drvdata(dev); | 672 | struct ide_host *host = pci_get_drvdata(dev); |
673 | struct it821x_dev *itdevs = host->host_priv; | 673 | struct it821x_dev *itdevs = host->host_priv; |
@@ -689,7 +689,7 @@ static struct pci_driver it821x_pci_driver = { | |||
689 | .name = "ITE821x IDE", | 689 | .name = "ITE821x IDE", |
690 | .id_table = it821x_pci_tbl, | 690 | .id_table = it821x_pci_tbl, |
691 | .probe = it821x_init_one, | 691 | .probe = it821x_init_one, |
692 | .remove = __devexit_p(it821x_remove), | 692 | .remove = it821x_remove, |
693 | .suspend = ide_pci_suspend, | 693 | .suspend = ide_pci_suspend, |
694 | .resume = ide_pci_resume, | 694 | .resume = ide_pci_resume, |
695 | }; | 695 | }; |