From: Thierry Reding Date: Wed, 16 Oct 2013 17:19:01 +0000 (+0200) Subject: ARM: tegra: Constify list of CPU domains X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=f0ea2e0bb8f01fc36e32402a479b16ad032da081;p=deliverable%2Flinux.git 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: Thierry Reding Signed-off-by: Stephen Warren --- diff --git a/arch/arm/mach-tegra/powergate.c b/arch/arm/mach-tegra/powergate.c index f076f0f80fcd..bd10822f8b66 100644 --- a/arch/arm/mach-tegra/powergate.c +++ b/arch/arm/mach-tegra/powergate.c @@ -42,8 +42,9 @@ static int tegra_num_powerdomains; static int tegra_num_cpu_domains; -static u8 *tegra_cpu_domains; -static u8 tegra30_cpu_domains[] = { +static const u8 *tegra_cpu_domains; + +static const u8 tegra30_cpu_domains[] = { TEGRA_POWERGATE_CPU0, TEGRA_POWERGATE_CPU1, TEGRA_POWERGATE_CPU2,