aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_amd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_amd.c')
-rw-r--r--drivers/ata/pata_amd.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/ata/pata_amd.c b/drivers/ata/pata_amd.c
index dc6b5dae0463..82a08922afcd 100644
--- a/drivers/ata/pata_amd.c
+++ b/drivers/ata/pata_amd.c
@@ -632,21 +632,10 @@ static struct pci_driver amd_pci_driver = {
632#endif 632#endif
633}; 633};
634 634
635static int __init amd_init(void) 635module_pci_driver(amd_pci_driver);
636{
637 return pci_register_driver(&amd_pci_driver);
638}
639
640static void __exit amd_exit(void)
641{
642 pci_unregister_driver(&amd_pci_driver);
643}
644 636
645MODULE_AUTHOR("Alan Cox"); 637MODULE_AUTHOR("Alan Cox");
646MODULE_DESCRIPTION("low-level driver for AMD and Nvidia PATA IDE"); 638MODULE_DESCRIPTION("low-level driver for AMD and Nvidia PATA IDE");
647MODULE_LICENSE("GPL"); 639MODULE_LICENSE("GPL");
648MODULE_DEVICE_TABLE(pci, amd); 640MODULE_DEVICE_TABLE(pci, amd);
649MODULE_VERSION(DRV_VERSION); 641MODULE_VERSION(DRV_VERSION);
650
651module_init(amd_init);
652module_exit(amd_exit);