[PATCH v11 2/3] LoongArch: time: add timer_probe in time_init

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The Loongson-2 hpet clocksource driver used TIMER_OF_DECLARE to
register clocksource subsystem that ask timer_probe was called
in time_init and this patch was to addd such support.

Signed-off-by: Yinbo Zhu <zhuyinbo@xxxxxxxxxxx>
---
 arch/loongarch/kernel/time.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/loongarch/kernel/time.c b/arch/loongarch/kernel/time.c
index 09f20bc81798..658c1fcce4c7 100644
--- a/arch/loongarch/kernel/time.c
+++ b/arch/loongarch/kernel/time.c
@@ -216,6 +216,7 @@ int __init constant_clocksource_init(void)
 void __init time_init(void)
 {
 	of_clk_init(NULL);
+	timer_probe();
 
 	if (!cpu_has_cpucfg)
 		const_clock_freq = cpu_clock_freq;
-- 
2.31.1




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux