summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/include
diff options
context:
space:
mode:
authorPeter De Schrijver <pdeschrijver@nvidia.com>2012-02-10 03:47:46 +0400
committerOlof Johansson <olof@lixom.net>2012-02-27 02:44:44 +0400
commit8f5d6f1b46df37ad3eea8f4e09bbe4bbe1bfc6c3 (patch)
tree9d1b06a25856a250f69e8932eafbd25f57d2edcb /arch/arm/mach-tegra/include
parentb36ab9754efbd7429d214b3b03dc9843882571bd (diff)
downloadlinux-8f5d6f1b46df37ad3eea8f4e09bbe4bbe1bfc6c3.tar.xz
ARM: tegra: prepare powergate.c for multiple variants
Prepare the powergating code for other Tegra variants which have a different number of powerdomains. Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com> Acked-by: Stephen Warren <swarren@nvidia.com> Tested-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-tegra/include')
-rw-r--r--arch/arm/mach-tegra/include/mach/powergate.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/include/mach/powergate.h b/arch/arm/mach-tegra/include/mach/powergate.h
index 39c396d2ddb0..36846dc6e8ef 100644
--- a/arch/arm/mach-tegra/include/mach/powergate.h
+++ b/arch/arm/mach-tegra/include/mach/powergate.h
@@ -27,7 +27,6 @@
#define TEGRA_POWERGATE_VDEC 4
#define TEGRA_POWERGATE_L2 5
#define TEGRA_POWERGATE_MPE 6
-#define TEGRA_NUM_POWERGATE 7
int tegra_powergate_power_on(int id);
int tegra_powergate_power_off(int id);