From 7adeaaa4390dff8dcd4e44e6bcb144befcc2816f Mon Sep 17 00:00:00 2001 From: Dirk Behme Date: Tue, 9 Jan 2007 15:23:11 -0800 Subject: [PATCH] ARM: OMAP: Workqueue changes for retu-rtc ARM: OMAP: Workqueue changes for retu-rtc.c Signed-off-by: Dirk Behme Signed-off-by: Tony Lindgren --- drivers/cbus/retu-rtc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/cbus/retu-rtc.c b/drivers/cbus/retu-rtc.c index 97f9d07f9b7..b36fd06323a 100644 --- a/drivers/cbus/retu-rtc.c +++ b/drivers/cbus/retu-rtc.c @@ -40,6 +40,7 @@ #include #include #include +#include #include "cbus.h" #include "retu.h" @@ -312,13 +313,13 @@ static void retu_rtca_disable(void) retu_write_reg(RETU_REG_RTCHMAR, (24 << 8) | 60); } -static void retu_rtca_expired(void *data) +static void retu_rtca_expired(struct work_struct *unused) { retu_rtca_disable(); sysfs_notify(&retu_rtc_driver.kobj, NULL, "alarm_expired"); } -DECLARE_WORK(retu_rtca_work, retu_rtca_expired, NULL); +DECLARE_WORK(retu_rtca_work, retu_rtca_expired); /* * RTCHMR RTCHMAR RTCCAL must be accessed within 0.9 s since the seconds -- 2.41.1