diff options
author | Stephen Warren | 2011-12-19 20:24:03 +0100 |
---|---|---|
committer | Olof Johansson | 2011-12-20 03:06:05 +0100 |
commit | 229f05fdb025ff82f47221c11ee5dfa73f7e4cb2 (patch) | |
tree | 5b6a03121c3801ee5cfb399b746aa03bac779639 /arch/arm/mach-tegra/clock.c | |
parent | arm/tegra: Fix section mismatch errors in tegra30 pinmux (diff) | |
download | kernel-qcow2-linux-229f05fdb025ff82f47221c11ee5dfa73f7e4cb2.tar.gz kernel-qcow2-linux-229f05fdb025ff82f47221c11ee5dfa73f7e4cb2.tar.xz kernel-qcow2-linux-229f05fdb025ff82f47221c11ee5dfa73f7e4cb2.zip |
arm/tegra: Delete tegra_init_clock()
tegra_init_clock() is written to call tegra2_init_clocks(), which only
exists if Tegra20 support is enabled. This breaks the build of a
Tegra30-only kernel.
tegra_init_clock() isn't actually used any more; tegra20_init_early()
calls tegra2_init_clocks() directly. So, just delete this function.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-tegra/clock.c')
-rw-r--r-- | arch/arm/mach-tegra/clock.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/mach-tegra/clock.c b/arch/arm/mach-tegra/clock.c index a8f359d8ae17..8337068a4abe 100644 --- a/arch/arm/mach-tegra/clock.c +++ b/arch/arm/mach-tegra/clock.c @@ -399,11 +399,6 @@ void tegra_periph_reset_assert(struct clk *c) } EXPORT_SYMBOL(tegra_periph_reset_assert); -void __init tegra_init_clock(void) -{ - tegra2_init_clocks(); -} - #ifdef CONFIG_DEBUG_FS static int __clk_lock_all_spinlocks(void) |