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 <peng.fan@nxp.com>
This commit is contained in:
Peng Fan
2026-02-17 13:50:22 -06:00
committed by Tom Rini
parent 49f60d60f7
commit f025f9de60
+1 -3
View File
@@ -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)