summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Fan <[email protected]>2026-02-09 09:30:12 +0800
committerTom Rini <[email protected]>2026-02-17 13:50:22 -0600
commitf025f9de6022167e494a88f22751a329b4ac023a (patch)
tree84fae8945795b0f175133254d08594e4ae8fec27
parent49f60d60f70bf429319d72b85bbf5bb37519a7ae (diff)
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 <[email protected]>
-rw-r--r--arch/arm/mach-tegra/pmc.c4
1 files changed, 1 insertions, 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 <cpu_func.h>
#include <log.h>
-#include <asm/global_data.h>
#include <linux/arm-smccc.h>
#include <asm/io.h>
#include <asm/arch-tegra/pmc.h>
-
-DECLARE_GLOBAL_DATA_PTR;
+#include <asm/arch-tegra/tegra.h>
#if IS_ENABLED(CONFIG_TEGRA_PMC_SECURE)
static bool tegra_pmc_detect_tz_only(void)