watchdog: Allow multiple watchdogs
Put watchdogs on a list to allow multiple watchdogs. Add a priority
field to be able to pick the highest priority watchdog.
This patch also provides a of_get_watchdog_priority() function to
allow configuring the watchdog priority from the device tree.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 83b0a5a commit 8f4cf30903cf6daaed0be1e8911363a3984abf72
@Sascha Hauer Sascha Hauer authored on 26 Aug 2015
Showing 2 changed files
View
drivers/watchdog/wd_core.c
View
include/watchdog.h