Skip to content

Commit

Permalink
ARM: hisi: remove init_time
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Haojian Zhuang authored and Kevin Hilman committed Dec 20, 2013
1 parent 389ee0c commit 52a4510
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions arch/arm/mach-hisi/hisilicon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 52a4510

Please sign in to comment.