diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2016-05-25 08:37:46 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2016-07-17 20:54:42 +0200 |
commit | 44ba0f04af44d7f3a157ee655bdfc53660d8faf9 (patch) | |
tree | 321810aac0f0a00a6cdf3806d5a02ce4bdd2d367 /drivers/watchdog | |
parent | 0efc70b8238dc6d26289b501f126798b9d0da601 (diff) | |
download | op-kernel-dev-44ba0f04af44d7f3a157ee655bdfc53660d8faf9.zip op-kernel-dev-44ba0f04af44d7f3a157ee655bdfc53660d8faf9.tar.gz |
watchdog: softdog: remove forward declaration
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r-- | drivers/watchdog/softdog.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/watchdog/softdog.c b/drivers/watchdog/softdog.c index 0a29f5a..42faa3d 100644 --- a/drivers/watchdog/softdog.c +++ b/drivers/watchdog/softdog.c @@ -54,11 +54,6 @@ module_param(soft_panic, int, 0); MODULE_PARM_DESC(soft_panic, "Softdog action, set to 1 to panic, 0 to reboot (default=0)"); -static void softdog_fire(unsigned long); - -static struct timer_list softdog_ticktock = - TIMER_INITIALIZER(softdog_fire, 0, 0); - static void softdog_fire(unsigned long data) { module_put(THIS_MODULE); @@ -74,6 +69,9 @@ static void softdog_fire(unsigned long data) } } +static struct timer_list softdog_ticktock = + TIMER_INITIALIZER(softdog_fire, 0, 0); + static int softdog_ping(struct watchdog_device *w) { if (!mod_timer(&softdog_ticktock, jiffies+(w->timeout*HZ))) |