Patchwork rtc/at91sam9: fix typo .alarm_irq_enabled instead of .alarm_irq_enable

login
register
mail settings
Submitter Jean-Christophe PLAGNIOL-VILLARD
Date March 8, 2011, 4:19 p.m.
Message ID <1299601173-26252-1-git-send-email-plagnioj@jcrosoft.com>
Download mbox | patch
Permalink /patch/86023/
State New
Headers show

Comments

Jean-Christophe PLAGNIOL-VILLARD - March 8, 2011, 4:19 p.m.
in struct rtc_class_ops at91_rtc_ops

introduce in commit 16380c153a6
RTC: Convert rtc drivers to use the alarm_irq_enable method

Cc: John Stultz <john.stultz@linaro.org>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 drivers/rtc/rtc-at91sam9.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
John Stultz - March 8, 2011, 5:05 p.m.
On Tue, 2011-03-08 at 17:19 +0100, Jean-Christophe PLAGNIOL-VILLARD
wrote:
> in struct rtc_class_ops at91_rtc_ops
> 
> introduce in commit 16380c153a6
> RTC: Convert rtc drivers to use the alarm_irq_enable method

I believe this fix is already upstream:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=d40358509ee862d7e4049187bc05eba1911a2959


thanks
-john
Jean-Christophe PLAGNIOL-VILLARD - March 9, 2011, 3:33 p.m.
On 09:05 Tue 08 Mar     , John Stultz wrote:
> On Tue, 2011-03-08 at 17:19 +0100, Jean-Christophe PLAGNIOL-VILLARD
> wrote:
> > in struct rtc_class_ops at91_rtc_ops
> > 
> > introduce in commit 16380c153a6
> > RTC: Convert rtc drivers to use the alarm_irq_enable method
> 
> I believe this fix is already upstream:
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=d40358509ee862d7e4049187bc05eba1911a2959
ok some of my tree are new update to date enough

Best Regards,
J.

Patch

diff --git a/drivers/rtc/rtc-at91sam9.c b/drivers/rtc/rtc-at91sam9.c
index c36749e..5469c52 100644
--- a/drivers/rtc/rtc-at91sam9.c
+++ b/drivers/rtc/rtc-at91sam9.c
@@ -309,7 +309,7 @@  static const struct rtc_class_ops at91_rtc_ops = {
 	.read_alarm	= at91_rtc_readalarm,
 	.set_alarm	= at91_rtc_setalarm,
 	.proc		= at91_rtc_proc,
-	.alarm_irq_enabled = at91_rtc_alarm_irq_enable,
+	.alarm_irq_enable = at91_rtc_alarm_irq_enable,
 };
 
 /*