diff options
Diffstat (limited to 'drivers/misc/tifm_7xx1.c')
| -rw-r--r-- | drivers/misc/tifm_7xx1.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/misc/tifm_7xx1.c b/drivers/misc/tifm_7xx1.c index ba2479022670..f8d6654391e5 100644 --- a/drivers/misc/tifm_7xx1.c +++ b/drivers/misc/tifm_7xx1.c | |||
| @@ -434,21 +434,9 @@ static struct pci_driver tifm_7xx1_driver = { | |||
| 434 | .resume = tifm_7xx1_resume, | 434 | .resume = tifm_7xx1_resume, |
| 435 | }; | 435 | }; |
| 436 | 436 | ||
| 437 | static int __init tifm_7xx1_init(void) | 437 | module_pci_driver(tifm_7xx1_driver); |
| 438 | { | ||
| 439 | return pci_register_driver(&tifm_7xx1_driver); | ||
| 440 | } | ||
| 441 | |||
| 442 | static void __exit tifm_7xx1_exit(void) | ||
| 443 | { | ||
| 444 | pci_unregister_driver(&tifm_7xx1_driver); | ||
| 445 | } | ||
| 446 | |||
| 447 | MODULE_AUTHOR("Alex Dubov"); | 438 | MODULE_AUTHOR("Alex Dubov"); |
| 448 | MODULE_DESCRIPTION("TI FlashMedia host driver"); | 439 | MODULE_DESCRIPTION("TI FlashMedia host driver"); |
| 449 | MODULE_LICENSE("GPL"); | 440 | MODULE_LICENSE("GPL"); |
| 450 | MODULE_DEVICE_TABLE(pci, tifm_7xx1_pci_tbl); | 441 | MODULE_DEVICE_TABLE(pci, tifm_7xx1_pci_tbl); |
| 451 | MODULE_VERSION(DRIVER_VERSION); | 442 | MODULE_VERSION(DRIVER_VERSION); |
| 452 | |||
| 453 | module_init(tifm_7xx1_init); | ||
| 454 | module_exit(tifm_7xx1_exit); | ||
