diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-10-23 11:52:53 -0600 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2013-01-28 10:21:21 -0700 |
commit | 1711b1e10224dbebc885b7bf7ca2f03f51ff9f4a (patch) | |
tree | 0191c6c138a449c25793a15fc7a75373d86ad7fd /arch/arm/mach-tegra/board-dt-tegra30.c | |
parent | f3dab3989b4282e448cba0f0708934276dcb413a (diff) |
ARM: tegra: move timer.c to drivers/clocksource/
Move arch/arm/mach-tegra/timer.c to drivers/clocksource/tegra20_timer.c
so that the code is co-located with other clocksource drivers, and to
reduce the size of the mach-tegra directory.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-dt-tegra30.c')
-rw-r--r-- | arch/arm/mach-tegra/board-dt-tegra30.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board-dt-tegra30.c b/arch/arm/mach-tegra/board-dt-tegra30.c index 381b2f25f0b4..a9ed15dcc3ed 100644 --- a/arch/arm/mach-tegra/board-dt-tegra30.c +++ b/arch/arm/mach-tegra/board-dt-tegra30.c @@ -23,6 +23,7 @@ * */ +#include <linux/clocksource.h> #include <linux/kernel.h> #include <linux/of.h> #include <linux/of_address.h> @@ -113,7 +114,7 @@ DT_MACHINE_START(TEGRA30_DT, "NVIDIA Tegra30 (Flattened Device Tree)") .init_early = tegra30_init_early, .init_irq = tegra_dt_init_irq, .handle_irq = gic_handle_irq, - .init_time = tegra_init_timer, + .init_time = clocksource_of_init, .init_machine = tegra30_dt_init, .init_late = tegra_init_late, .restart = tegra_assert_system_reset, |