summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-hisi/hisilicon.c
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@linaro.org>2013-12-20 03:52:57 +0100
committerKevin Hilman <khilman@linaro.org>2013-12-20 17:23:01 +0100
commit52a45100f0cada7f003e6fa3f426244b18846ba5 (patch)
treed57a89f27011bae4c9abbb25388d5b4b80174493 /arch/arm/mach-hisi/hisilicon.c
parentARM: hisi: rename hi3xxx to hisi (diff)
downloadlinux-52a45100f0cada7f003e6fa3f426244b18846ba5.tar.xz
linux-52a45100f0cada7f003e6fa3f426244b18846ba5.zip
ARM: hisi: remove init_time
Since init_time in machine descriptor is already covered by arch/arm/kernel/time.c by default. We needn't to append it any more. Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com> Signed-off-by: Kevin Hilman <khilman@linaro.org>
Diffstat (limited to 'arch/arm/mach-hisi/hisilicon.c')
-rw-r--r--arch/arm/mach-hisi/hisilicon.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/mach-hisi/hisilicon.c b/arch/arm/mach-hisi/hisilicon.c
index 685d9ebd612d..741faf3e7100 100644
--- a/arch/arm/mach-hisi/hisilicon.c
+++ b/arch/arm/mach-hisi/hisilicon.c
@@ -51,12 +51,6 @@ static void __init hi3620_map_io(void)
iotable_init(hi3620_io_desc, ARRAY_SIZE(hi3620_io_desc));
}
-static void __init hi3xxx_timer_init(void)
-{
- of_clk_init(NULL);
- clocksource_of_init();
-}
-
static void hi3xxx_restart(enum reboot_mode mode, const char *cmd)
{
struct device_node *np;
@@ -90,7 +84,6 @@ static const char *hi3xxx_compat[] __initconst = {
DT_MACHINE_START(HI3620, "Hisilicon Hi3620 (Flattened Device Tree)")
.map_io = hi3620_map_io,
- .init_time = hi3xxx_timer_init,
.dt_compat = hi3xxx_compat,
.smp = smp_ops(hi3xxx_smp_ops),
.restart = hi3xxx_restart,