diff options
| author | Peng Fan <[email protected]> | 2026-02-09 09:30:18 +0800 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-02-17 13:50:22 -0600 |
| commit | 0f90b1e715f8abe41b0875752eb184f46032ff11 (patch) | |
| tree | a9fb9e93d8dca6895b94e17cdbe4ec7f596ca40a /drivers/timer/sp804_timer.c | |
| parent | 406982f091c76e6ce0734373426bd756f97d64e9 (diff) | |
treewide: Clean up DECLARE_GLOBAL_DATA_PTR usage
Remove DECLARE_GLOBAL_DATA_PTR from files where gd is not used, and
drop the unnecessary inclusion of asm/global_data.h.
Headers should be included directly by the files that need them,
rather than indirectly via global_data.h.
Reviewed-by: Patrice Chotard <[email protected]> #STMicroelectronics boards and STM32MP1 ram test driver
Tested-by: Anshul Dalal <[email protected]> #TI boards
Acked-by: Yao Zi <[email protected]> #TH1520
Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'drivers/timer/sp804_timer.c')
| -rw-r--r-- | drivers/timer/sp804_timer.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/timer/sp804_timer.c b/drivers/timer/sp804_timer.c index 3e57f4b98ba..05532e3330c 100644 --- a/drivers/timer/sp804_timer.c +++ b/drivers/timer/sp804_timer.c @@ -8,15 +8,12 @@ #include <dm.h> #include <init.h> #include <log.h> -#include <asm/global_data.h> #include <dm/ofnode.h> #include <mapmem.h> #include <dt-structs.h> #include <timer.h> #include <asm/io.h> -DECLARE_GLOBAL_DATA_PTR; - #define SP804_TIMERX_LOAD 0x00 #define SP804_TIMERX_VALUE 0x04 #define SP804_TIMERX_CONTROL 0x08 |
