aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/pnx4008_wdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/watchdog/pnx4008_wdt.c')
-rw-r--r--drivers/watchdog/pnx4008_wdt.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/watchdog/pnx4008_wdt.c b/drivers/watchdog/pnx4008_wdt.c
index 614933225560..bd143c9dd3e6 100644
--- a/drivers/watchdog/pnx4008_wdt.c
+++ b/drivers/watchdog/pnx4008_wdt.c
@@ -334,18 +334,7 @@ static struct platform_driver platform_wdt_driver = {
334 .remove = __devexit_p(pnx4008_wdt_remove), 334 .remove = __devexit_p(pnx4008_wdt_remove),
335}; 335};
336 336
337static int __init pnx4008_wdt_init(void) 337module_platform_driver(platform_wdt_driver);
338{
339 return platform_driver_register(&platform_wdt_driver);
340}
341
342static void __exit pnx4008_wdt_exit(void)
343{
344 platform_driver_unregister(&platform_wdt_driver);
345}
346
347module_init(pnx4008_wdt_init);
348module_exit(pnx4008_wdt_exit);
349 338
350MODULE_AUTHOR("MontaVista Software, Inc. <source@mvista.com>"); 339MODULE_AUTHOR("MontaVista Software, Inc. <source@mvista.com>");
351MODULE_DESCRIPTION("PNX4008 Watchdog Driver"); 340MODULE_DESCRIPTION("PNX4008 Watchdog Driver");