clocksource: starfive: Allocates struct starfive_clkevt in driver
authorxingyu.wu <xingyu.wu@starfivetech.com>
Thu, 30 Jun 2022 14:09:05 +0000 (22:09 +0800)
committerxingyu.wu <xingyu.wu@starfivetech.com>
Thu, 30 Jun 2022 14:26:30 +0000 (22:26 +0800)
commit9a41464b122b0c2cba564b5e5b49b2a0de4fc1f5
tree2bd866c091ff4669889e199ff4cb6fbf2abfcd5b
parent258d47936492b28999b108c2f0a4a1608880a931
clocksource: starfive: Allocates struct starfive_clkevt in driver

Allocates struct starfive_clkevt in driver dynamically instead of global
struct to support more than one instance of IP.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
Signed-off-by: Ley Foon Tan <leyfoon.tan@linux.starfivetech.com>
drivers/clocksource/timer-starfive.c