aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/via82cxxx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/via82cxxx.c')
-rw-r--r--drivers/ide/via82cxxx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ide/via82cxxx.c b/drivers/ide/via82cxxx.c
index eb7767864d10..01464f1e2339 100644
--- a/drivers/ide/via82cxxx.c
+++ b/drivers/ide/via82cxxx.c
@@ -403,7 +403,7 @@ static const struct ide_port_ops via_port_ops = {
403 .cable_detect = via82cxxx_cable_detect, 403 .cable_detect = via82cxxx_cable_detect,
404}; 404};
405 405
406static const struct ide_port_info via82cxxx_chipset __devinitconst = { 406static const struct ide_port_info via82cxxx_chipset = {
407 .name = DRV_NAME, 407 .name = DRV_NAME,
408 .init_chipset = init_chipset_via82cxxx, 408 .init_chipset = init_chipset_via82cxxx,
409 .enablebits = { { 0x40, 0x02, 0x02 }, { 0x40, 0x01, 0x01 } }, 409 .enablebits = { { 0x40, 0x02, 0x02 }, { 0x40, 0x01, 0x01 } },
@@ -416,7 +416,7 @@ static const struct ide_port_info via82cxxx_chipset __devinitconst = {
416 .mwdma_mask = ATA_MWDMA2, 416 .mwdma_mask = ATA_MWDMA2,
417}; 417};
418 418
419static int __devinit via_init_one(struct pci_dev *dev, const struct pci_device_id *id) 419static int via_init_one(struct pci_dev *dev, const struct pci_device_id *id)
420{ 420{
421 struct pci_dev *isa = NULL; 421 struct pci_dev *isa = NULL;
422 struct via_isa_bridge *via_config; 422 struct via_isa_bridge *via_config;
@@ -489,7 +489,7 @@ static int __devinit via_init_one(struct pci_dev *dev, const struct pci_device_i
489 return rc; 489 return rc;
490} 490}
491 491
492static void __devexit via_remove(struct pci_dev *dev) 492static void via_remove(struct pci_dev *dev)
493{ 493{
494 struct ide_host *host = pci_get_drvdata(dev); 494 struct ide_host *host = pci_get_drvdata(dev);
495 struct via82cxxx_dev *vdev = host->host_priv; 495 struct via82cxxx_dev *vdev = host->host_priv;
@@ -514,7 +514,7 @@ static struct pci_driver via_pci_driver = {
514 .name = "VIA_IDE", 514 .name = "VIA_IDE",
515 .id_table = via_pci_tbl, 515 .id_table = via_pci_tbl,
516 .probe = via_init_one, 516 .probe = via_init_one,
517 .remove = __devexit_p(via_remove), 517 .remove = via_remove,
518 .suspend = ide_pci_suspend, 518 .suspend = ide_pci_suspend,
519 .resume = ide_pci_resume, 519 .resume = ide_pci_resume,
520}; 520};