diff options
Diffstat (limited to 'drivers/watchdog/cpwd.c')
-rw-r--r-- | drivers/watchdog/cpwd.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/watchdog/cpwd.c b/drivers/watchdog/cpwd.c index 1e013e8457b7..1b793dfd868f 100644 --- a/drivers/watchdog/cpwd.c +++ b/drivers/watchdog/cpwd.c | |||
@@ -687,15 +687,4 @@ static struct platform_driver cpwd_driver = { | |||
687 | .remove = __devexit_p(cpwd_remove), | 687 | .remove = __devexit_p(cpwd_remove), |
688 | }; | 688 | }; |
689 | 689 | ||
690 | static int __init cpwd_init(void) | 690 | module_platform_driver(cpwd_driver); |
691 | { | ||
692 | return platform_driver_register(&cpwd_driver); | ||
693 | } | ||
694 | |||
695 | static void __exit cpwd_exit(void) | ||
696 | { | ||
697 | platform_driver_unregister(&cpwd_driver); | ||
698 | } | ||
699 | |||
700 | module_init(cpwd_init); | ||
701 | module_exit(cpwd_exit); | ||