]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit0e389015010a2d6dc26e99ee5535db9b3be0467f
tree4b8e7ec9284350621b401a15cafb2fefa09638e1
parentd2cf8324a0335fa88aab4e37d9c50fff8e998b1c
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