* [PATCH] ARM: OMAP: Workqueue changes for retu-rtc
@ 2007-01-04 16:38 Dirk Behme
2007-01-09 23:23 ` Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: Dirk Behme @ 2007-01-04 16:38 UTC (permalink / raw)
To: linux-omap-open-source
[-- Attachment #1: Type: text/plain, Size: 99 bytes --]
ARM: OMAP: Workqueue changes for retu-rtc.c
Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>
[-- Attachment #2: retu_rtc_fixes.txt --]
[-- Type: text/plain, Size: 868 bytes --]
Index: linux-osk/drivers/cbus/retu-rtc.c
===================================================================
--- linux-osk.orig/drivers/cbus/retu-rtc.c
+++ linux-osk/drivers/cbus/retu-rtc.c
@@ -40,6 +40,7 @@
#include <linux/completion.h>
#include <linux/platform_device.h>
#include <linux/mutex.h>
+#include <linux/workqueue.h>
#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
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: OMAP: Workqueue changes for retu-rtc
2007-01-04 16:38 [PATCH] ARM: OMAP: Workqueue changes for retu-rtc Dirk Behme
@ 2007-01-09 23:23 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2007-01-09 23:23 UTC (permalink / raw)
To: Dirk Behme; +Cc: linux-omap-open-source
* Dirk Behme <dirk.behme@googlemail.com> [070104 08:39]:
>
> ARM: OMAP: Workqueue changes for retu-rtc.c
>
> Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>
>
> Index: linux-osk/drivers/cbus/retu-rtc.c
> ===================================================================
> --- linux-osk.orig/drivers/cbus/retu-rtc.c
> +++ linux-osk/drivers/cbus/retu-rtc.c
> @@ -40,6 +40,7 @@
> #include <linux/completion.h>
> #include <linux/platform_device.h>
> #include <linux/mutex.h>
> +#include <linux/workqueue.h>
>
> #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
>
Pushing today.
Tony
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-09 23:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-04 16:38 [PATCH] ARM: OMAP: Workqueue changes for retu-rtc Dirk Behme
2007-01-09 23:23 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox