Patchwork rtc: fix typo/build error in rtc-at91sam9.c

login
register
mail settings
Submitter Dmitry Eremin-Solenikov
Date March 5, 2011, 3:05 p.m.
Message ID <1299337530-6795-1-git-send-email-dbaryshkov@gmail.com>
Download mbox | patch
Permalink /patch/85529/
State New
Headers show

Comments

Dmitry Eremin-Solenikov - March 5, 2011, 3:05 p.m.
Fix build error in rtc-at91sam9.c: it's alarm_irq_enable,
not alarm_irq_enabled!

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
 drivers/rtc/rtc-at91sam9.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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,
 };
 
 /*