Skip to content

Commit

Permalink
RTC: fix typo in drivers/rtc/rtc-at91sam9.c
Browse files Browse the repository at this point in the history
The member of the rtc_class_ops struct is called alarm_irq_enable and
not alarm_irq_enabled

CC: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Jelle Martijn Kok <jmkok@youcom.nl>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Jelle Martijn Kok authored and Linus Torvalds committed Feb 25, 2011
1 parent c1bc3be commit d403585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/rtc/rtc-at91sam9.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

/*
Expand Down

0 comments on commit d403585

Please sign in to comment.