diff options
| author | Peng Fan <[email protected]> | 2026-02-09 09:30:13 +0800 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-02-17 13:50:22 -0600 |
| commit | 90d7b4c8a5b094cea20e60d4ebed58aa571b734d (patch) | |
| tree | 9da3037f76117b28aa47ba214d8d043c4fd6776b | |
| parent | f025f9de6022167e494a88f22751a329b4ac023a (diff) | |
rockchip: evk_rk3308: Cleanup headers
There is no user of 'gd', so drop the usage of DECLARE_GLOBAL_DATA_PTR
and the including of 'asm/global_data.h'. Also include correct headers
to avoid build error.
Signed-off-by: Peng Fan <[email protected]>
| -rw-r--r-- | board/rockchip/evb_rk3308/evb_rk3308.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/board/rockchip/evb_rk3308/evb_rk3308.c b/board/rockchip/evb_rk3308/evb_rk3308.c index c895da934a9..75536fe117d 100644 --- a/board/rockchip/evb_rk3308/evb_rk3308.c +++ b/board/rockchip/evb_rk3308/evb_rk3308.c @@ -4,9 +4,8 @@ */ #include <adc.h> -#include <asm/global_data.h> - -DECLARE_GLOBAL_DATA_PTR; +#include <stdio.h> +#include <linux/kernel.h> #define KEY_DOWN_MIN_VAL 0 #define KEY_DOWN_MAX_VAL 30 |
