From: Wim Van Sebroeck Date: Fri, 17 Nov 2006 22:50:06 +0000 (+0100) Subject: [WATCHDOG] MIPS RM9000 on-chip watchdog device - patch 4 X-Git-Tag: v2.6.20-rc1~34^2~40^2~467^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5d06ff7f181c06ef8c94b353ae3fef8f06b3085;p=pandora-kernel.git [WATCHDOG] MIPS RM9000 on-chip watchdog device - patch 4 a number of small patches: - include notifier.h include file - re-arrange prototype functions - remove =0 initializations - change printk logging levels to what's used in other drivers - /dev/watchdog is a VFS so use nonseekable_open - Style: Instead of "if (constant op function_or_variable)" we prefer "if (function_or_variable op constant)" - arg is a __user pointer - use MAX_TIMEOUT_SECONDS instead of 32 in WDIOC_SETTIMEOUT Signed-off-by: Randy Dunlap Signed-off-by: Wim Van Sebroeck --- Reading git-diff-tree failed