Skip to content

Commit 707b4f4

Browse files
committed
Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull timer fixes from Thomas Gleixner: "Two timer fixlets from Arnd: - Use proper constant size in the FSL timer driver - Prevent a build error for legacy platforms" * 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: clocksource: Disallow drivers for ARCH_USES_GETTIMEOFFSET clocksource/fsl: Avoid harmless 64-bit warnings
2 parents 4143fc8 + 3da6d49 commit 707b4f4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

drivers/clocksource/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
menu "Clock Source drivers"
2+
depends on !ARCH_USES_GETTIMEOFFSET
23

34
config CLKSRC_OF
45
bool

drivers/clocksource/fsl_ftm_timer.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ static int __init ftm_clockevent_init(unsigned long freq, int irq)
203203
int err;
204204

205205
ftm_writel(0x00, priv->clkevt_base + FTM_CNTIN);
206-
ftm_writel(~0UL, priv->clkevt_base + FTM_MOD);
206+
ftm_writel(~0u, priv->clkevt_base + FTM_MOD);
207207

208208
ftm_reset_counter(priv->clkevt_base);
209209

@@ -230,7 +230,7 @@ static int __init ftm_clocksource_init(unsigned long freq)
230230
int err;
231231

232232
ftm_writel(0x00, priv->clksrc_base + FTM_CNTIN);
233-
ftm_writel(~0UL, priv->clksrc_base + FTM_MOD);
233+
ftm_writel(~0u, priv->clksrc_base + FTM_MOD);
234234

235235
ftm_reset_counter(priv->clksrc_base);
236236

0 commit comments

Comments
 (0)