diff options
Diffstat (limited to 'drivers/ata/pata_hpt37x.c')
-rw-r--r-- | drivers/ata/pata_hpt37x.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/ata/pata_hpt37x.c b/drivers/ata/pata_hpt37x.c index 9620636aa405..a9d74eff5fc4 100644 --- a/drivers/ata/pata_hpt37x.c +++ b/drivers/ata/pata_hpt37x.c | |||
@@ -1058,21 +1058,10 @@ static struct pci_driver hpt37x_pci_driver = { | |||
1058 | .remove = ata_pci_remove_one | 1058 | .remove = ata_pci_remove_one |
1059 | }; | 1059 | }; |
1060 | 1060 | ||
1061 | static int __init hpt37x_init(void) | 1061 | module_pci_driver(hpt37x_pci_driver); |
1062 | { | ||
1063 | return pci_register_driver(&hpt37x_pci_driver); | ||
1064 | } | ||
1065 | |||
1066 | static void __exit hpt37x_exit(void) | ||
1067 | { | ||
1068 | pci_unregister_driver(&hpt37x_pci_driver); | ||
1069 | } | ||
1070 | 1062 | ||
1071 | MODULE_AUTHOR("Alan Cox"); | 1063 | MODULE_AUTHOR("Alan Cox"); |
1072 | MODULE_DESCRIPTION("low-level driver for the Highpoint HPT37x/30x"); | 1064 | MODULE_DESCRIPTION("low-level driver for the Highpoint HPT37x/30x"); |
1073 | MODULE_LICENSE("GPL"); | 1065 | MODULE_LICENSE("GPL"); |
1074 | MODULE_DEVICE_TABLE(pci, hpt37x); | 1066 | MODULE_DEVICE_TABLE(pci, hpt37x); |
1075 | MODULE_VERSION(DRV_VERSION); | 1067 | MODULE_VERSION(DRV_VERSION); |
1076 | |||
1077 | module_init(hpt37x_init); | ||
1078 | module_exit(hpt37x_exit); | ||