summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>2024-02-25 16:13:34 +0100
committerDaniel Lezcano <daniel.lezcano@linaro.org>2024-02-26 10:07:25 +0100
commitf31c204850f9d93906b5ac8c203b2066524ff245 (patch)
treeacce72ea6e25490adfc043296349abefa6e83029
parentdt-bindings: timer: add Ralink SoCs system tick counter (diff)
downloadlinux-f31c204850f9d93906b5ac8c203b2066524ff245.tar.xz
linux-f31c204850f9d93906b5ac8c203b2066524ff245.zip
clocksource/drivers/arm_global_timer: Make gt_target_rate unsigned long
Change the data type of gt_target_rate to unsigned long as this is what we get back from clk_get_rate(). Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20240225151336.2728533-2-martin.blumenstingl@googlemail.com
-rw-r--r--drivers/clocksource/arm_global_timer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clocksource/arm_global_timer.c b/drivers/clocksource/arm_global_timer.c
index d749dee1d41d..fd39cfabe526 100644
--- a/drivers/clocksource/arm_global_timer.c
+++ b/drivers/clocksource/arm_global_timer.c
@@ -52,7 +52,8 @@
*/
static void __iomem *gt_base;
static struct notifier_block gt_clk_rate_change_nb;
-static u32 gt_psv_new, gt_psv_bck, gt_target_rate;
+static u32 gt_psv_new, gt_psv_bck;
+static unsigned long gt_target_rate;
static int gt_ppi;
static struct clock_event_device __percpu *gt_evt;