]> Pileus Git - ~andy/linux/commitdiff
arm/tegra: Delete tegra_init_clock()
authorStephen Warren <swarren@nvidia.com>
Mon, 19 Dec 2011 19:24:03 +0000 (12:24 -0700)
committerOlof Johansson <olof@lixom.net>
Tue, 20 Dec 2011 02:06:05 +0000 (18:06 -0800)
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>
arch/arm/mach-tegra/board.h
arch/arm/mach-tegra/clock.c

index 628f5a8a0d9aba88b51c6712c567017c2fa90dfd..75d1543d77c0d0f2029191f96fabc07d98c4e8fe 100644 (file)
@@ -30,7 +30,6 @@ void __init tegra30_init_early(void);
 void __init tegra_map_common_io(void);
 void __init tegra_init_irq(void);
 void __init tegra_dt_init_irq(void);
-void __init tegra_init_clock(void);
 int __init tegra_pcie_init(bool init_port0, bool init_port1);
 
 extern struct sys_timer tegra_timer;
index a8f359d8ae174f1bec4e7bb0a9f3ea61e708dc30..8337068a4abebed1a1b693a3b6f5f2dd8af496e8 100644 (file)
@@ -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)