From: Wim Van Sebroeck Date: Fri, 23 Mar 2012 10:48:22 +0000 (+0100) Subject: watchdog: txx9wdt: fix timeout X-Git-Tag: v3.4-rc1~67^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b92c803ec61de59e6e4ab9b2748d8e633cec3f08;p=pandora-kernel.git watchdog: txx9wdt: fix timeout timeout should be an unsigned int. Set the timeout value properly in the watchdog_device struct so that we don't get an faulty values for the WDIOC_GETTIMEOUT ioctl call. Add check to see that timeout is a valid parameter after it is loaded as a module. Signed-off-by: Wim Van Sebroeck Acked-by: Wolfram Sang --- Reading git-diff-tree failed