diff options
Diffstat (limited to 'drivers/ata/pata_marvell.c')
-rw-r--r-- | drivers/ata/pata_marvell.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/ata/pata_marvell.c b/drivers/ata/pata_marvell.c index 5d7f58a7e34d..a4f5e781c8c2 100644 --- a/drivers/ata/pata_marvell.c +++ b/drivers/ata/pata_marvell.c | |||
@@ -178,22 +178,10 @@ static struct pci_driver marvell_pci_driver = { | |||
178 | #endif | 178 | #endif |
179 | }; | 179 | }; |
180 | 180 | ||
181 | static int __init marvell_init(void) | 181 | module_pci_driver(marvell_pci_driver); |
182 | { | ||
183 | return pci_register_driver(&marvell_pci_driver); | ||
184 | } | ||
185 | |||
186 | static void __exit marvell_exit(void) | ||
187 | { | ||
188 | pci_unregister_driver(&marvell_pci_driver); | ||
189 | } | ||
190 | |||
191 | module_init(marvell_init); | ||
192 | module_exit(marvell_exit); | ||
193 | 182 | ||
194 | MODULE_AUTHOR("Alan Cox"); | 183 | MODULE_AUTHOR("Alan Cox"); |
195 | MODULE_DESCRIPTION("SCSI low-level driver for Marvell ATA in legacy mode"); | 184 | MODULE_DESCRIPTION("SCSI low-level driver for Marvell ATA in legacy mode"); |
196 | MODULE_LICENSE("GPL"); | 185 | MODULE_LICENSE("GPL"); |
197 | MODULE_DEVICE_TABLE(pci, marvell_pci_tbl); | 186 | MODULE_DEVICE_TABLE(pci, marvell_pci_tbl); |
198 | MODULE_VERSION(DRV_VERSION); | 187 | MODULE_VERSION(DRV_VERSION); |
199 | |||