Skip to contentSkip to conversation

RTC: fix typo in drivers/rtc/rtc-at91sam9.c

PATCH New John Stultz 1 participant 1 message Feb 25, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 RTC: fix typo in drivers/rtc/rtc-at91sam9.c

From: Jelle Martijn Kok <[email protected]>

Linus, Thomas: Here's a typo fix for 2.6.38

The member of the rtc_class_ops struct is called alarm_irq_enable and not alarm_irq_enabled

---
 drivers/rtc/rtc-at91sam9.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/rtc/rtc-at91sam9.c +1 -1
index c36749e..5469c52 100644
@@ -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,
 };
 
 /*
Signature · 1 line
1.7.3.2.146.gca209