diff options
| author | Rasmus Villemoes <[email protected]> | 2021-08-19 11:56:56 +0200 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2021-08-31 12:04:03 +0200 |
| commit | 6d24dc89f06d57fc4501fc927a765e7db2037e6c (patch) | |
| tree | 57c4b78e1dedf62937c16547e32f54a2bd1fa90e /scripts/basic | |
| parent | 8967ebb65386396790e4c1c8b7c24a139a0f5c41 (diff) | |
watchdog: wdt-uclass.c: introduce struct wdt_priv
As preparation for having the wdt-uclass provided watchdog_reset()
function handle all DM watchdog devices, and not just the first such,
introduce a uclass-owned struct to hold the reset_period and
next_reset, so these become per-device instead of being static
variables.
No functional change intended.
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Signed-off-by: Rasmus Villemoes <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
