timer: mpc83xx_timer: fix build with CONFIG_{HW_, }WATCHDOG
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Wed, 14 Apr 2021 07:18:21 +0000 (09:18 +0200)
committerStefan Roese <sr@denx.de>
Tue, 27 Apr 2021 06:28:07 +0000 (08:28 +0200)
commit2156016294c7cb005bba3d8b7c7f13bc09d7824c
tree4b8e7ec9284350621b401a15cafb2fefa09638e1
parent7dd2097e21342f1b8dc332ed4f5711b2a4b64419
timer: mpc83xx_timer: fix build with CONFIG_{HW_, }WATCHDOG

The code, which is likely copied from arch/powerpc/lib/interrupts.c,
lacks a fallback definition of CONFIG_SYS_WATCHDOG_FREQ and refers to
a non-existing timestamp variable - obviously priv->timestamp is
meant.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
drivers/timer/mpc83xx_timer.c