Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

watchdog: ep93xx_wdt: timeout is an unsigned int value.

the timeout is a positive thus unsigned int value.
Also re-add the comment about the actual heartbeat.

Signed-off-by: Wim Van Sebroeck <wim@iguana.be>

+3 -3
+3 -3
drivers/watchdog/ep93xx_wdt.c
··· 42 42 module_param(nowayout, bool, 0); 43 43 MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started"); 44 44 45 - static int timeout = WDT_TIMEOUT; 46 - module_param(timeout, int, 0); 45 + static unsigned int timeout = WDT_TIMEOUT; 46 + module_param(timeout, uint, 0); 47 47 MODULE_PARM_DESC(timeout, 48 48 "Watchdog timeout in seconds. (1<=timeout<=3600, default=" 49 49 __MODULE_STRING(WDT_TIMEOUT) ")"); ··· 55 55 #define EP93XX_WATCHDOG 0x00 56 56 #define EP93XX_WDSTATUS 0x04 57 57 58 - /* reset the wdt every ~200ms */ 58 + /* reset the wdt every ~200ms - the heartbeat of the device is 0.250 seconds*/ 59 59 #define WDT_INTERVAL (HZ/5) 60 60 61 61 static void ep93xx_wdt_timer_ping(unsigned long data)