]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
global_data.h: remove unnecesary include of cyclic.h
authorRasmus Villemoes <ravi@prevas.dk>
Thu, 3 Oct 2024 21:28:02 +0000 (23:28 +0200)
committerStefan Roese <sr@denx.de>
Wed, 23 Oct 2024 05:02:25 +0000 (07:02 +0200)
Nothing in cyclic.h is needed to define struct global_data, so do not
include that header.

If any .c file relies on getting cyclic.h through asm/global_data.h,
it needs to include it itself.

Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Stefan Roese <sr@denx.de>
include/asm-generic/global_data.h

index 644a0d77873a1fa44c93575dedb13d60026aef8a..b84cc5bbecd99ced6e7d3b596a23186c12d767a2 100644 (file)
@@ -21,7 +21,6 @@
 
 #ifndef __ASSEMBLY__
 #include <board_f.h>
-#include <cyclic.h>
 #include <event_internal.h>
 #include <fdtdec.h>
 #include <membuff.h>