]> git.dujemihanovic.xyz Git - u-boot.git/commit
watchdog.h: change include of cyclic.h to u-boot/schedule.h
authorRasmus Villemoes <ravi@prevas.dk>
Thu, 3 Oct 2024 21:27:57 +0000 (23:27 +0200)
committerStefan Roese <sr@denx.de>
Wed, 23 Oct 2024 04:52:38 +0000 (06:52 +0200)
commitbd665754894ffe4ea01e43f4fc5d3ef4cba1689d
treec4fe8d38ebc0c29eef6bac7910daeb6a49bbbafd
parent307449de9058657eef544043013e8655468b3032
watchdog.h: change include of cyclic.h to u-boot/schedule.h

Nobody relies on getting the cyclic API declared by including the
watchdog.h header, but for historical reasons, many TUs include
watchdog.h to get a declaration of schedule(). Now that we have a
dedicated header for just that, include that header instead of
cyclic.h.

Eventually, all TUs that call schedule() should themselves include
u-boot/schedule.h, but this is a step towards getting rid of
unnecessary include statements in cyclic.h and global_data.h.

Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
include/watchdog.h