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 <peng.fan@nxp.com>
This commit is contained in:
Peng Fan 2026-02-09 09:30:13 +08:00 committed by Tom Rini
parent f025f9de60
commit 90d7b4c8a5

View File

@ -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