diff options
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/pata_pcmcia.c | 14 |
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 | 390 | module_pcmcia_driver(pcmcia_driver); | |
391 | static int __init pcmcia_init(void) | ||
392 | { | ||
393 | return pcmcia_register_driver(&pcmcia_driver); | ||
394 | } | ||
395 | |||
396 | static void __exit pcmcia_exit(void) | ||
397 | { | ||
398 | pcmcia_unregister_driver(&pcmcia_driver); | ||
399 | } | ||
400 | 391 | ||
401 | MODULE_AUTHOR("Alan Cox"); | 392 | MODULE_AUTHOR("Alan Cox"); |
402 | MODULE_DESCRIPTION("low-level driver for PCMCIA ATA"); | 393 | MODULE_DESCRIPTION("low-level driver for PCMCIA ATA"); |
403 | MODULE_LICENSE("GPL"); | 394 | MODULE_LICENSE("GPL"); |
404 | MODULE_VERSION(DRV_VERSION); | 395 | MODULE_VERSION(DRV_VERSION); |
405 | |||
406 | module_init(pcmcia_init); | ||
407 | module_exit(pcmcia_exit); | ||