diff options
author | Joseph Lo <josephl@nvidia.com> | 2012-08-16 05:31:48 -0400 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2012-09-13 13:41:05 -0400 |
commit | dab403ef23f7561f7d77e0dc72dfd1be0fa333c1 (patch) | |
tree | cc2159d8851392b017beb1fe0e9127ff1b0fd618 /arch/arm/mach-tegra/clock.c | |
parent | b4350f40f73b75efdceae3d9e04266979acabd8c (diff) |
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.c | 4 |
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 @@ | |||
31 | 31 | ||
32 | #include "board.h" | 32 | #include "board.h" |
33 | #include "clock.h" | 33 | #include "clock.h" |
34 | #include "tegra_cpu_car.h" | ||
35 | |||
36 | /* Global data of Tegra CPU CAR ops */ | ||
37 | struct tegra_cpu_car_ops *tegra_cpu_car_ops; | ||
34 | 38 | ||
35 | /* | 39 | /* |
36 | * Locking: | 40 | * Locking: |