diff options
Diffstat (limited to 'drivers/ata/pata_pdc202xx_old.c')
| -rw-r--r-- | drivers/ata/pata_pdc202xx_old.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/ata/pata_pdc202xx_old.c b/drivers/ata/pata_pdc202xx_old.c index c2ed5868dda6..c34fc50070a6 100644 --- a/drivers/ata/pata_pdc202xx_old.c +++ b/drivers/ata/pata_pdc202xx_old.c | |||
| @@ -384,21 +384,10 @@ static struct pci_driver pdc202xx_pci_driver = { | |||
| 384 | #endif | 384 | #endif |
| 385 | }; | 385 | }; |
| 386 | 386 | ||
| 387 | static int __init pdc202xx_init(void) | 387 | module_pci_driver(pdc202xx_pci_driver); |
| 388 | { | ||
| 389 | return pci_register_driver(&pdc202xx_pci_driver); | ||
| 390 | } | ||
| 391 | |||
| 392 | static void __exit pdc202xx_exit(void) | ||
| 393 | { | ||
| 394 | pci_unregister_driver(&pdc202xx_pci_driver); | ||
| 395 | } | ||
| 396 | 388 | ||
| 397 | MODULE_AUTHOR("Alan Cox"); | 389 | MODULE_AUTHOR("Alan Cox"); |
| 398 | MODULE_DESCRIPTION("low-level driver for Promise 2024x and 20262-20267"); | 390 | MODULE_DESCRIPTION("low-level driver for Promise 2024x and 20262-20267"); |
| 399 | MODULE_LICENSE("GPL"); | 391 | MODULE_LICENSE("GPL"); |
| 400 | MODULE_DEVICE_TABLE(pci, pdc202xx); | 392 | MODULE_DEVICE_TABLE(pci, pdc202xx); |
| 401 | MODULE_VERSION(DRV_VERSION); | 393 | MODULE_VERSION(DRV_VERSION); |
| 402 | |||
| 403 | module_init(pdc202xx_init); | ||
| 404 | module_exit(pdc202xx_exit); | ||
