From: Florian Fainelli Date: Tue, 4 Aug 2009 21:09:36 +0000 (+0200) Subject: MIPS: AR7: register watchdog device only if enabled in hw configuration X-Git-Tag: v2.6.32-rc6~2^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72838a170372d6bb44bcb04a81aa2c83312cfbc0;p=pandora-kernel.git MIPS: AR7: register watchdog device only if enabled in hw configuration This patch checks if the watchdog enable bit is set in the DCL register meaning that the hardware watchdog actually works and if so, register the ar7_wdt platform_device. Signed-off-by: Florian Fainelli Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed