diff options
author | Thierry Reding <treding@nvidia.com> | 2014-08-26 02:14:04 -0400 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2014-08-26 13:43:55 -0400 |
commit | 783944feaab8383495ba067276a16e28c205fb13 (patch) | |
tree | 3eff8e54489cc4b0a7babe3d8bdd1440ca85f07a /arch/arm/mach-tegra/flowctrl.h | |
parent | 9fc3bf5dc2cf3c8703601ad9a612b2f9eefb8a22 (diff) |
ARM: tegra: Initialize flow controller from DT
Use a matching device tree node to initialize the flow controller driver
instead of hard-coding the I/O address. This is necessary to get rid of
the iomap.h include, which in turn make it easier to share this code
with 64-bit Tegra SoCs.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/flowctrl.h')
-rw-r--r-- | arch/arm/mach-tegra/flowctrl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/flowctrl.h b/arch/arm/mach-tegra/flowctrl.h index c89aac60a143..73a9c5016c1a 100644 --- a/arch/arm/mach-tegra/flowctrl.h +++ b/arch/arm/mach-tegra/flowctrl.h | |||
@@ -59,6 +59,8 @@ void flowctrl_write_cpu_halt(unsigned int cpuid, u32 value); | |||
59 | 59 | ||
60 | void flowctrl_cpu_suspend_enter(unsigned int cpuid); | 60 | void flowctrl_cpu_suspend_enter(unsigned int cpuid); |
61 | void flowctrl_cpu_suspend_exit(unsigned int cpuid); | 61 | void flowctrl_cpu_suspend_exit(unsigned int cpuid); |
62 | |||
63 | void tegra_flowctrl_init(void); | ||
62 | #endif | 64 | #endif |
63 | 65 | ||
64 | #endif | 66 | #endif |