commit | 72838a170372d6bb44bcb04a81aa2c83312cfbc0 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <florian@openwrt.org> | Tue Aug 04 23:09:36 2009 +0200 |
committer | Ralf Baechle <ralf@linux-mips.org> | Mon Nov 02 12:00:03 2009 +0100 |
tree | 36f416b9a26fab0a07a2d08958f2a398a9e1472b | |
parent | 2cfac7f7f2e6d11bcba105b3d6ba4d96ba5ad349 [diff] |
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 <florian@openwrt.org> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>