aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/flowctrl.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-08-26 08:14:04 +0200
committerStephen Warren <swarren@nvidia.com>2014-08-26 11:43:55 -0600
commit783944feaab8383495ba067276a16e28c205fb13 (patch)
tree3eff8e54489cc4b0a7babe3d8bdd1440ca85f07a /arch/arm/mach-tegra/flowctrl.h
parentof: Add NVIDIA Tegra flow controller bindings (diff)
downloadlinux-dev-783944feaab8383495ba067276a16e28c205fb13.tar.xz
linux-dev-783944feaab8383495ba067276a16e28c205fb13.zip
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.h2
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);
void flowctrl_cpu_suspend_enter(unsigned int cpuid);
void flowctrl_cpu_suspend_exit(unsigned int cpuid);
+
+void tegra_flowctrl_init(void);
#endif
#endif