diff options
-rw-r--r-- | drivers/ide/tx4939ide.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/ide/tx4939ide.c b/drivers/ide/tx4939ide.c index c0ab800b7bb3..4ecdee5eca83 100644 --- a/drivers/ide/tx4939ide.c +++ b/drivers/ide/tx4939ide.c | |||
@@ -624,18 +624,7 @@ static struct platform_driver tx4939ide_driver = { | |||
624 | .resume = tx4939ide_resume, | 624 | .resume = tx4939ide_resume, |
625 | }; | 625 | }; |
626 | 626 | ||
627 | static int __init tx4939ide_init(void) | 627 | module_platform_driver_probe(tx4939ide_driver, tx4939ide_probe); |
628 | { | ||
629 | return platform_driver_probe(&tx4939ide_driver, tx4939ide_probe); | ||
630 | } | ||
631 | |||
632 | static void __exit tx4939ide_exit(void) | ||
633 | { | ||
634 | platform_driver_unregister(&tx4939ide_driver); | ||
635 | } | ||
636 | |||
637 | module_init(tx4939ide_init); | ||
638 | module_exit(tx4939ide_exit); | ||
639 | 628 | ||
640 | MODULE_DESCRIPTION("TX4939 internal IDE driver"); | 629 | MODULE_DESCRIPTION("TX4939 internal IDE driver"); |
641 | MODULE_LICENSE("GPL"); | 630 | MODULE_LICENSE("GPL"); |