From: Dirk Behme <dirk.behme@googlemail.com>
To: linux-omap-open-source@linux.omap.com
Subject: [PATCH] ARM: OMAP: Workqueue changes for retu-rtc
Date: Thu, 04 Jan 2007 17:38:37 +0100 [thread overview]
Message-ID: <459D2D8D.1060705@googlemail.com> (raw)
[-- 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 --]
next reply other threads:[~2007-01-04 16:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-04 16:38 Dirk Behme [this message]
2007-01-09 23:23 ` [PATCH] ARM: OMAP: Workqueue changes for retu-rtc Tony Lindgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=459D2D8D.1060705@googlemail.com \
--to=dirk.behme@googlemail.com \
--cc=linux-omap-open-source@linux.omap.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox