mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 20:02:17 +00:00
ARM: rockchip: remove custom .init_time hook
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Acked-by: Heiko Stuebner <heiko@sntech.de>
This commit is contained in:
parent
50432501fc
commit
2ab38d9343
1 changed files with 0 additions and 9 deletions
|
@ -19,18 +19,10 @@
|
||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
#include <linux/of_platform.h>
|
#include <linux/of_platform.h>
|
||||||
#include <linux/irqchip.h>
|
#include <linux/irqchip.h>
|
||||||
#include <linux/dw_apb_timer.h>
|
|
||||||
#include <linux/clk-provider.h>
|
|
||||||
#include <asm/mach/arch.h>
|
#include <asm/mach/arch.h>
|
||||||
#include <asm/mach/map.h>
|
#include <asm/mach/map.h>
|
||||||
#include <asm/hardware/cache-l2x0.h>
|
#include <asm/hardware/cache-l2x0.h>
|
||||||
|
|
||||||
static void __init rockchip_timer_init(void)
|
|
||||||
{
|
|
||||||
of_clk_init(NULL);
|
|
||||||
clocksource_of_init();
|
|
||||||
}
|
|
||||||
|
|
||||||
static void __init rockchip_dt_init(void)
|
static void __init rockchip_dt_init(void)
|
||||||
{
|
{
|
||||||
l2x0_of_init(0, ~0UL);
|
l2x0_of_init(0, ~0UL);
|
||||||
|
@ -47,6 +39,5 @@ static const char * const rockchip_board_dt_compat[] = {
|
||||||
|
|
||||||
DT_MACHINE_START(ROCKCHIP_DT, "Rockchip Cortex-A9 (Device Tree)")
|
DT_MACHINE_START(ROCKCHIP_DT, "Rockchip Cortex-A9 (Device Tree)")
|
||||||
.init_machine = rockchip_dt_init,
|
.init_machine = rockchip_dt_init,
|
||||||
.init_time = rockchip_timer_init,
|
|
||||||
.dt_compat = rockchip_board_dt_compat,
|
.dt_compat = rockchip_board_dt_compat,
|
||||||
MACHINE_END
|
MACHINE_END
|
||||||
|
|
Loading…
Reference in a new issue