diff options
author | Jon Hunter <jonathanh@nvidia.com> | 2017-03-28 15:42:54 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2017-04-04 16:48:04 +0300 |
commit | 7e10cf743634a6b0f3cf63046c49294b38254fe9 (patch) | |
tree | 8a13813e246ec3e5abbb0de3da93bec4baf517da /arch/arm/mach-tegra/tegra.c | |
parent | 07d76e953b5ec616f3d4c2d807e911e37312dc72 (diff) | |
download | linux-7e10cf743634a6b0f3cf63046c49294b38254fe9.tar.xz |
soc/tegra: Move Tegra flowctrl driver
The flowctrl driver is required for both ARM and ARM64 Tegra devices
and in order to enable support for it for ARM64, move the Tegra flowctrl
driver into drivers/soc/tegra.
By moving the flowctrl driver, tegra_flowctrl_init() is now called by
via an early initcall and to prevent this function from attempting to
mapping IO space for a non-Tegra device, a test for 'soc_is_tegra()'
is also added.
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/tegra.c')
-rw-r--r-- | arch/arm/mach-tegra/tegra.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/tegra.c b/arch/arm/mach-tegra/tegra.c index e01cbca196b5..649e9e8c7bcc 100644 --- a/arch/arm/mach-tegra/tegra.c +++ b/arch/arm/mach-tegra/tegra.c @@ -48,7 +48,6 @@ #include "board.h" #include "common.h" #include "cpuidle.h" -#include "flowctrl.h" #include "iomap.h" #include "irq.h" #include "pm.h" @@ -75,7 +74,6 @@ static void __init tegra_init_early(void) { of_register_trusted_foundations(); tegra_cpu_reset_handler_init(); - tegra_flowctrl_init(); } static void __init tegra_dt_init_irq(void) |