Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f0ea2e0b authored by Thierry Reding's avatar Thierry Reding Committed by Stephen Warren
Browse files

ARM: tegra: Constify list of CPU domains



There's no need to modify these at runtime, it is static data and never
needs to change.

Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
parent c1e96da2
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -42,8 +42,9 @@


static int tegra_num_powerdomains;
static int tegra_num_powerdomains;
static int tegra_num_cpu_domains;
static int tegra_num_cpu_domains;
static u8 *tegra_cpu_domains;
static const u8 *tegra_cpu_domains;
static u8 tegra30_cpu_domains[] = {

static const u8 tegra30_cpu_domains[] = {
	TEGRA_POWERGATE_CPU0,
	TEGRA_POWERGATE_CPU0,
	TEGRA_POWERGATE_CPU1,
	TEGRA_POWERGATE_CPU1,
	TEGRA_POWERGATE_CPU2,
	TEGRA_POWERGATE_CPU2,