From: Dirk Behme Date: Tue, 9 Jan 2007 23:23:11 +0000 (-0800) Subject: ARM: OMAP: Workqueue changes for retu-rtc X-Git-Tag: v2.6.21-omap1~174 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=7adeaaa4390dff8dcd4e44e6bcb144befcc2816f;p=linux-2.6-omap-h63xx.git 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 --- 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