aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/pata_pcmcia.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/ata/pata_pcmcia.c b/drivers/ata/pata_pcmcia.c
index 958238dda8fc..40254f4df584 100644
--- a/drivers/ata/pata_pcmcia.c
+++ b/drivers/ata/pata_pcmcia.c
@@ -387,21 +387,9 @@ static struct pcmcia_driver pcmcia_driver = {
387 .probe = pcmcia_init_one, 387 .probe = pcmcia_init_one,
388 .remove = pcmcia_remove_one, 388 .remove = pcmcia_remove_one,
389}; 389};
390 390module_pcmcia_driver(pcmcia_driver);
391static int __init pcmcia_init(void)
392{
393 return pcmcia_register_driver(&pcmcia_driver);
394}
395
396static void __exit pcmcia_exit(void)
397{
398 pcmcia_unregister_driver(&pcmcia_driver);
399}
400 391
401MODULE_AUTHOR("Alan Cox"); 392MODULE_AUTHOR("Alan Cox");
402MODULE_DESCRIPTION("low-level driver for PCMCIA ATA"); 393MODULE_DESCRIPTION("low-level driver for PCMCIA ATA");
403MODULE_LICENSE("GPL"); 394MODULE_LICENSE("GPL");
404MODULE_VERSION(DRV_VERSION); 395MODULE_VERSION(DRV_VERSION);
405
406module_init(pcmcia_init);
407module_exit(pcmcia_exit);