From f025f9de6022167e494a88f22751a329b4ac023a Mon Sep 17 00:00:00 2001 From: Peng Fan Date: Mon, 9 Feb 2026 09:30:12 +0800 Subject: [PATCH] tegra: pmc: Cleanup headers No gd users, so remove DECLARE_GLOBAL_DATA_PTR and the including of "asm/global_data.h". And include "asm/arch-tegra/tegra.h" to avoid build error. Signed-off-by: Peng Fan --- arch/arm/mach-tegra/pmc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm/mach-tegra/pmc.c b/arch/arm/mach-tegra/pmc.c index 3f968d4aeae..019c4b0b21f 100644 --- a/arch/arm/mach-tegra/pmc.c +++ b/arch/arm/mach-tegra/pmc.c @@ -5,14 +5,12 @@ #include #include -#include #include #include #include - -DECLARE_GLOBAL_DATA_PTR; +#include #if IS_ENABLED(CONFIG_TEGRA_PMC_SECURE) static bool tegra_pmc_detect_tz_only(void)