X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=arch%2Farm%2Fmach-msm%2Ftimer.c;h=4855b8ca51014443663b5dcaed57ae5c81ef92d8;hb=5732c468495effd3089c1c893f3eba9a8a1d373c;hp=444d9c0f5ca68c30ce2a50af7bdc83ef8d0785b0;hpb=5a2dd72abdae75ea2960145e0549635ce4e0be96;p=mirror_ubuntu-bionic-kernel.git diff --git a/arch/arm/mach-msm/timer.c b/arch/arm/mach-msm/timer.c index 444d9c0f5ca6..4855b8ca5101 100644 --- a/arch/arm/mach-msm/timer.c +++ b/arch/arm/mach-msm/timer.c @@ -57,12 +57,12 @@ static irqreturn_t msm_timer_interrupt(int irq, void *dev_id) return IRQ_HANDLED; } -static cycle_t msm_gpt_read(void) +static cycle_t msm_gpt_read(struct clocksource *cs) { return readl(MSM_GPT_BASE + TIMER_COUNT_VAL); } -static cycle_t msm_dgt_read(void) +static cycle_t msm_dgt_read(struct clocksource *cs) { return readl(MSM_DGT_BASE + TIMER_COUNT_VAL) >> MSM_DGT_SHIFT; }