hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/mach-mmp/mmp-dt.c
....@@ -1,24 +1,20 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * linux/arch/arm/mach-mmp/mmp-dt.c
34 *
45 * Copyright (C) 2012 Marvell Technology Group Ltd.
56 * Author: Haojian Zhuang <haojian.zhuang@marvell.com>
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License version 2 as
9
- * publishhed by the Free Software Foundation.
107 */
118
129 #include <linux/irqchip.h>
1310 #include <linux/of_platform.h>
14
-#include <linux/clk-provider.h>
11
+#include <linux/of_clk.h>
12
+#include <linux/clocksource.h>
1513 #include <asm/mach/arch.h>
1614 #include <asm/mach/time.h>
1715 #include <asm/hardware/cache-tauros2.h>
1816
1917 #include "common.h"
20
-
21
-extern void __init mmp_dt_init_timer(void);
2218
2319 static const char *const pxa168_dt_board_compat[] __initconst = {
2420 "mrvl,pxa168-aspenite",
....@@ -35,8 +31,8 @@
3531 #ifdef CONFIG_CACHE_TAUROS2
3632 tauros2_init(0);
3733 #endif
38
- mmp_dt_init_timer();
3934 of_clk_init(NULL);
35
+ timer_probe();
4036 }
4137
4238 DT_MACHINE_START(PXA168_DT, "Marvell PXA168 (Device Tree Support)")