2011-03-05 15:05:37

by Dmitry Baryshkov

[permalink] [raw]
Subject: [PATCH] rtc: fix typo/build error in rtc-at91sam9.c

Fix build error in rtc-at91sam9.c: it's alarm_irq_enable,
not alarm_irq_enabled!

Signed-off-by: Dmitry Eremin-Solenikov <[email protected]>
---
drivers/rtc/rtc-at91sam9.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

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

/*
--
1.7.2.3