ARM: tegra: Constify list of CPU domains
authorThierry Reding <thierry.reding@gmail.com>
Wed, 16 Oct 2013 17:19:01 +0000 (19:19 +0200)
committerStephen Warren <swarren@nvidia.com>
Fri, 18 Oct 2013 22:28:11 +0000 (16:28 -0600)
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>
arch/arm/mach-tegra/powergate.c

index f076f0f80fcd325e836061605f5a628efbd05626..bd10822f8b66e661a16b40b069075f58c9cb862b 100644 (file)
@@ -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,
This page took 0.031268 seconds and 5 git commands to generate.