aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/clock.c
diff options
context:
space:
mode:
authorJoseph Lo <josephl@nvidia.com>2012-08-16 17:31:48 +0800
committerStephen Warren <swarren@nvidia.com>2012-09-13 11:41:05 -0600
commitdab403ef23f7561f7d77e0dc72dfd1be0fa333c1 (patch)
treecc2159d8851392b017beb1fe0e9127ff1b0fd618 /arch/arm/mach-tegra/clock.c
parentARM: Tegra: Add smp_twd clock for Tegra20 (diff)
downloadlinux-dev-dab403ef23f7561f7d77e0dc72dfd1be0fa333c1.tar.xz
linux-dev-dab403ef23f7561f7d77e0dc72dfd1be0fa333c1.zip
ARM: tegra: introduce tegra_cpu_car_ops structures
The tegra_cpu_car_ops provide the interface for CPU to control it's clock gating and reset status. The other drivers should use this for CPU control. And should not directly access CAR registers to control CPU. Signed-off-by: Joseph Lo <josephl@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/clock.c')
-rw-r--r--arch/arm/mach-tegra/clock.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/clock.c b/arch/arm/mach-tegra/clock.c
index 632133fc985b..fd82085eca5d 100644
--- a/arch/arm/mach-tegra/clock.c
+++ b/arch/arm/mach-tegra/clock.c
@@ -31,6 +31,10 @@
#include "board.h"
#include "clock.h"
+#include "tegra_cpu_car.h"
+
+/* Global data of Tegra CPU CAR ops */
+struct tegra_cpu_car_ops *tegra_cpu_car_ops;
/*
* Locking: