summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@gmail.com>2013-10-16 19:19:01 +0200
committerStephen Warren <swarren@nvidia.com>2013-10-18 16:28:11 -0600
commitf0ea2e0bb8f01fc36e32402a479b16ad032da081 (patch)
tree329f0478c7650b7f0d1926ee27eacfbabf98fd00 /arch/arm/mach-tegra
parentc1e96da28cf56c9f7be5e54d92c31ef3f70799fa (diff)
downloadop-kernel-dev-f0ea2e0bb8f01fc36e32402a479b16ad032da081.zip
op-kernel-dev-f0ea2e0bb8f01fc36e32402a479b16ad032da081.tar.gz
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 <treding@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r--arch/arm/mach-tegra/powergate.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/powergate.c b/arch/arm/mach-tegra/powergate.c
index f076f0f..bd10822 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,
OpenPOWER on IntegriCloud