From: Peng Fan Date: Mon, 9 Feb 2026 01:30:12 +0000 (+0800) Subject: tegra: pmc: Cleanup headers X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f025f9de6022167e494a88f22751a329b4ac023a;p=thirdparty%2Fu-boot.git 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 --- 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)