summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Fan <[email protected]>2026-02-09 09:30:13 +0800
committerTom Rini <[email protected]>2026-02-17 13:50:22 -0600
commit90d7b4c8a5b094cea20e60d4ebed58aa571b734d (patch)
tree9da3037f76117b28aa47ba214d8d043c4fd6776b
parentf025f9de6022167e494a88f22751a329b4ac023a (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.c5
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