summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/time-efm32.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-03-30 22:17:13 +0200
committerIngo Molnar <mingo@kernel.org>2015-03-31 09:15:57 +0200
commitad834a346853b7ee7c684efa56b1d415a850a710 (patch)
treeabf15205e17200e81daf11808f1fc9fd7ec8cbc4 /drivers/clocksource/time-efm32.c
parentMerge tag 'v4.0-rc6' into timers/core, before applying new patches (diff)
downloadlinux-ad834a346853b7ee7c684efa56b1d415a850a710.tar.xz
linux-ad834a346853b7ee7c684efa56b1d415a850a710.zip
clocksource/drivers/efm32: Use CLOCK_EVT_FEAT_PERIODIC for defining features
We have used CLOCK_EVT_MODE_PERIODIC instead of CLOCK_EVT_FEAT_PERIODIC while defining features. Fix it. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by: Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de> Cc: ben.dooks@codethink.co.uk Cc: digetx@gmail.com Cc: hdegoede@redhat.com Cc: laurent.pinchart+renesas@ideasonboard.com Cc: linux-arm-kernel@lists.infradead.org Cc: maxime.ripard@free-electrons.com Link: http://lkml.kernel.org/r/1427746633-9137-11-git-send-email-daniel.lezcano@linaro.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/clocksource/time-efm32.c')
-rw-r--r--drivers/clocksource/time-efm32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/time-efm32.c b/drivers/clocksource/time-efm32.c
index ec57ba2bbd87..5b6e3d5644c9 100644
--- a/drivers/clocksource/time-efm32.c
+++ b/drivers/clocksource/time-efm32.c
@@ -111,7 +111,7 @@ static irqreturn_t efm32_clock_event_handler(int irq, void *dev_id)
static struct efm32_clock_event_ddata clock_event_ddata = {
.evtdev = {
.name = "efm32 clockevent",
- .features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_MODE_PERIODIC,
+ .features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_PERIODIC,
.set_mode = efm32_clock_event_set_mode,
.set_next_event = efm32_clock_event_set_next_event,
.rating = 200,