[PATCH 3/6] rtc: rtc-s3c: Fix on support RTC Alarm
Kukjin Kim
kgene.kim at samsung.com
Thu Oct 7 19:41:16 EDT 2010
From: Changhwan Youn <chaos.youn at samsung.com>
The alarm_irq_enable function should be implemented to support RTC alarm.
And fixes tab instead of white space abound proc field.
Signed-off-by: Changhwan Youn <chaos.youn at samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim at samsung.com>
Acked-by: Ben Dooks <ben-linux at fluff.org>
---
drivers/rtc/rtc-s3c.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c
index fd08876..39fa5b0 100644
--- a/drivers/rtc/rtc-s3c.c
+++ b/drivers/rtc/rtc-s3c.c
@@ -379,7 +379,8 @@ static const struct rtc_class_ops s3c_rtcops = {
.set_alarm = s3c_rtc_setalarm,
.irq_set_freq = s3c_rtc_setfreq,
.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)
--
1.6.2.5
More information about the linux-arm-kernel
mailing list