]> git.karo-electronics.de Git - karo-tx-linux.git/commit
watchdog: watchdog_core: Add watchdog registration deferral mechanism
authorJean-Baptiste Theou <jtheou@adeneo-embedded.us>
Tue, 9 Jun 2015 16:55:02 +0000 (09:55 -0700)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 29 Jun 2015 09:51:06 +0000 (11:51 +0200)
commitef90174f821041313d42d99c1c8b35a3af64a910
tree0265d89b6ee866b7e20a8925fae03e290e078e00
parentb9be9660ba2d23259e4a430a44167ef441dc5fe6
watchdog: watchdog_core: Add watchdog registration deferral mechanism

Currently, watchdog subsystem require the misc subsystem to
register a watchdog. This may not be the case in case of an
early registration of a watchdog, which can be required when
the watchdog cannot be disabled.

This patch introduces a deferral mechanism to remove this requirement.

Signed-off-by: Jean-Baptiste Theou <jtheou@adeneo-embedded.us>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Documentation/watchdog/watchdog-kernel-api.txt
drivers/watchdog/watchdog_core.c
include/linux/watchdog.h