clocksource/drivers/arm_global_timer: Make gt_target_rate unsigned long
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 25 Feb 2024 15:13:34 +0000 (16:13 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 26 Feb 2024 09:07:25 +0000 (10:07 +0100)
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
drivers/clocksource/arm_global_timer.c

index d749dee1d41ddc128f8ae9a789f8bec62ef9e459..fd39cfabe52633aaadeb25871c79a8108189a31d 100644 (file)
@@ -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;