aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/watchdog/pcwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/watchdog/pcwd.c')
-rw-r--r--drivers/char/watchdog/pcwd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/char/watchdog/pcwd.c b/drivers/char/watchdog/pcwd.c
index b056c3c18aa7..6e8b5705b5b7 100644
--- a/drivers/char/watchdog/pcwd.c
+++ b/drivers/char/watchdog/pcwd.c
@@ -843,9 +843,7 @@ static int __devinit pcwatchdog_init(int base_addr)
843 /* clear the "card caused reboot" flag */ 843 /* clear the "card caused reboot" flag */
844 pcwd_clear_status(); 844 pcwd_clear_status();
845 845
846 init_timer(&pcwd_private.timer); 846 setup_timer(&pcwd_private.timer, pcwd_timer_ping, 0);
847 pcwd_private.timer.function = pcwd_timer_ping;
848 pcwd_private.timer.data = 0;
849 847
850 /* Disable the board */ 848 /* Disable the board */
851 pcwd_stop(); 849 pcwd_stop();