summaryrefslogtreecommitdiffstats
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
parent9fc3bf5dc2cf3c8703601ad9a612b2f9eefb8a22 (diff)
downloadop-kernel-dev-783944feaab8383495ba067276a16e28c205fb13.zip
op-kernel-dev-783944feaab8383495ba067276a16e28c205fb13.tar.gz
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 c89aac6..73a9c50 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
OpenPOWER on IntegriCloud