Commit e6eb524e authored by Changhwan Youn's avatar Changhwan Youn Committed by Linus Torvalds

rtc: rtc-s3c: fix on support RTC Alarm

The alarm_irq_enable function should be implemented to support RTC alarm.
And fix tabs instead of white space around the proc field.
Signed-off-by: default avatarChanghwan Youn <chaos.youn@samsung.com>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
Acked-by: default avatarBen Dooks <ben-linux@fluff.org>
Cc: Wan ZongShun <mcuos.com@gmail.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent dd061d1a
...@@ -380,6 +380,7 @@ static const struct rtc_class_ops s3c_rtcops = { ...@@ -380,6 +380,7 @@ static const struct rtc_class_ops s3c_rtcops = {
.irq_set_freq = s3c_rtc_setfreq, .irq_set_freq = s3c_rtc_setfreq,
.irq_set_state = s3c_rtc_setpie, .irq_set_state = s3c_rtc_setpie,
.proc = s3c_rtc_proc, .proc = s3c_rtc_proc,
.alarm_irq_enable = s3c_rtc_setaie,
}; };
static void s3c_rtc_enable(struct platform_device *pdev, int en) static void s3c_rtc_enable(struct platform_device *pdev, int en)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment