aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/sis5513.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/sis5513.c')
-rw-r--r--drivers/ide/sis5513.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/ide/sis5513.c b/drivers/ide/sis5513.c
index 09e61b4c5e94..247853ea1368 100644
--- a/drivers/ide/sis5513.c
+++ b/drivers/ide/sis5513.c
@@ -362,7 +362,7 @@ static u8 sis_ata133_udma_filter(ide_drive_t *drive)
362 return (regdw & 0x08) ? ATA_UDMA6 : ATA_UDMA5; 362 return (regdw & 0x08) ? ATA_UDMA6 : ATA_UDMA5;
363} 363}
364 364
365static int __devinit sis_find_family(struct pci_dev *dev) 365static int sis_find_family(struct pci_dev *dev)
366{ 366{
367 struct pci_dev *host; 367 struct pci_dev *host;
368 int i = 0; 368 int i = 0;
@@ -563,7 +563,7 @@ static const struct ide_port_ops sis_ata133_port_ops = {
563 .cable_detect = sis_cable_detect, 563 .cable_detect = sis_cable_detect,
564}; 564};
565 565
566static const struct ide_port_info sis5513_chipset __devinitconst = { 566static const struct ide_port_info sis5513_chipset = {
567 .name = DRV_NAME, 567 .name = DRV_NAME,
568 .init_chipset = init_chipset_sis5513, 568 .init_chipset = init_chipset_sis5513,
569 .enablebits = { {0x4a, 0x02, 0x02}, {0x4a, 0x04, 0x04} }, 569 .enablebits = { {0x4a, 0x02, 0x02}, {0x4a, 0x04, 0x04} },
@@ -572,7 +572,7 @@ static const struct ide_port_info sis5513_chipset __devinitconst = {
572 .mwdma_mask = ATA_MWDMA2, 572 .mwdma_mask = ATA_MWDMA2,
573}; 573};
574 574
575static int __devinit sis5513_init_one(struct pci_dev *dev, const struct pci_device_id *id) 575static int sis5513_init_one(struct pci_dev *dev, const struct pci_device_id *id)
576{ 576{
577 struct ide_port_info d = sis5513_chipset; 577 struct ide_port_info d = sis5513_chipset;
578 u8 udma_rates[] = { 0x00, 0x00, 0x07, 0x1f, 0x3f, 0x3f, 0x7f, 0x7f }; 578 u8 udma_rates[] = { 0x00, 0x00, 0x07, 0x1f, 0x3f, 0x3f, 0x7f, 0x7f };
@@ -595,7 +595,7 @@ static int __devinit sis5513_init_one(struct pci_dev *dev, const struct pci_devi
595 return ide_pci_init_one(dev, &d, NULL); 595 return ide_pci_init_one(dev, &d, NULL);
596} 596}
597 597
598static void __devexit sis5513_remove(struct pci_dev *dev) 598static void sis5513_remove(struct pci_dev *dev)
599{ 599{
600 ide_pci_remove(dev); 600 ide_pci_remove(dev);
601 pci_disable_device(dev); 601 pci_disable_device(dev);
@@ -613,7 +613,7 @@ static struct pci_driver sis5513_pci_driver = {
613 .name = "SIS_IDE", 613 .name = "SIS_IDE",
614 .id_table = sis5513_pci_tbl, 614 .id_table = sis5513_pci_tbl,
615 .probe = sis5513_init_one, 615 .probe = sis5513_init_one,
616 .remove = __devexit_p(sis5513_remove), 616 .remove = sis5513_remove,
617 .suspend = ide_pci_suspend, 617 .suspend = ide_pci_suspend,
618 .resume = ide_pci_resume, 618 .resume = ide_pci_resume,
619}; 619};