Skip to content

Commit f31c204

Browse files
xdarklightdlezcano
authored andcommitted
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
1 parent ec64db6 commit f31c204

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/clocksource/arm_global_timer.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@
5252
*/
5353
static void __iomem *gt_base;
5454
static struct notifier_block gt_clk_rate_change_nb;
55-
static u32 gt_psv_new, gt_psv_bck, gt_target_rate;
55+
static u32 gt_psv_new, gt_psv_bck;
56+
static unsigned long gt_target_rate;
5657
static int gt_ppi;
5758
static struct clock_event_device __percpu *gt_evt;
5859

0 commit comments

Comments
 (0)