[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-ad834a346853b7ee7c684efa56b1d415a850a710@git.kernel.org>
Date: Tue, 31 Mar 2015 00:21:57 -0700
From: tip-bot for Viresh Kumar <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: u.kleine-koenig@...gutronix.de, daniel.lezcano@...aro.org,
mingo@...nel.org, hpa@...or.com, tglx@...utronix.de,
viresh.kumar@...aro.org, linux-kernel@...r.kernel.org
Subject: [tip:timers/core] clocksource/drivers/efm32:
Use CLOCK_EVT_FEAT_PERIODIC for defining features
Commit-ID: ad834a346853b7ee7c684efa56b1d415a850a710
Gitweb: http://git.kernel.org/tip/ad834a346853b7ee7c684efa56b1d415a850a710
Author: Viresh Kumar <viresh.kumar@...aro.org>
AuthorDate: Mon, 30 Mar 2015 22:17:13 +0200
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Tue, 31 Mar 2015 09:15:57 +0200
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@...aro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@...aro.org>
Acked-by: Uwe Kleine-Koenig <u.kleine-koenig@...gutronix.de>
Cc: ben.dooks@...ethink.co.uk
Cc: digetx@...il.com
Cc: hdegoede@...hat.com
Cc: laurent.pinchart+renesas@...asonboard.com
Cc: linux-arm-kernel@...ts.infradead.org
Cc: maxime.ripard@...e-electrons.com
Link: http://lkml.kernel.org/r/1427746633-9137-11-git-send-email-daniel.lezcano@linaro.org
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
drivers/clocksource/time-efm32.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clocksource/time-efm32.c b/drivers/clocksource/time-efm32.c
index ec57ba2..5b6e3d5 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,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists