diff options
Diffstat (limited to 'drivers/watchdog/pnx4008_wdt.c')
-rw-r--r-- | drivers/watchdog/pnx4008_wdt.c | 13 |
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 | ||
337 | static int __init pnx4008_wdt_init(void) | 337 | module_platform_driver(platform_wdt_driver); |
338 | { | ||
339 | return platform_driver_register(&platform_wdt_driver); | ||
340 | } | ||
341 | |||
342 | static void __exit pnx4008_wdt_exit(void) | ||
343 | { | ||
344 | platform_driver_unregister(&platform_wdt_driver); | ||
345 | } | ||
346 | |||
347 | module_init(pnx4008_wdt_init); | ||
348 | module_exit(pnx4008_wdt_exit); | ||
349 | 338 | ||
350 | MODULE_AUTHOR("MontaVista Software, Inc. <source@mvista.com>"); | 339 | MODULE_AUTHOR("MontaVista Software, Inc. <source@mvista.com>"); |
351 | MODULE_DESCRIPTION("PNX4008 Watchdog Driver"); | 340 | MODULE_DESCRIPTION("PNX4008 Watchdog Driver"); |