public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP: ISP1301 workqueue fixes
@ 2006-12-28  8:02 Dirk Behme
  2006-12-28 12:30 ` Komal Shah
  2006-12-28 20:05 ` David Brownell
  0 siblings, 2 replies; 7+ messages in thread
From: Dirk Behme @ 2006-12-28  8:02 UTC (permalink / raw)
  To: linux-omap-open-source

[-- Attachment #1: Type: text/plain, Size: 90 bytes --]


ARM: OMAP: ISP1301 workqueue fixes.

Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>

[-- Attachment #2: isp1301_workqueue_fix.txt --]
[-- Type: text/plain, Size: 893 bytes --]


ARM: OMAP: ISP1301 workqueue fixes.

Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>

Index: linux-osk/drivers/i2c/chips/isp1301_omap.c
===================================================================
--- linux-osk.orig/drivers/i2c/chips/isp1301_omap.c
+++ linux-osk/drivers/i2c/chips/isp1301_omap.c
@@ -1119,9 +1119,9 @@ static u8 isp1301_clear_latch(struct isp
 }
 
 static void
-isp1301_work(void *data)
+isp1301_work(struct work_struct *data)
 {
-	struct isp1301	*isp = data;
+	struct isp1301	*isp = (struct isp1301 *)data;
 	int		stop;
 
 	/* implicit lock:  we're the only task using this device */
@@ -1525,7 +1525,7 @@ static int isp1301_probe(struct i2c_adap
 	if (!isp)
 		return 0;
 
-	INIT_WORK(&isp->work, isp1301_work, isp);
+	INIT_WORK(&isp->work, isp1301_work);
 	init_timer(&isp->timer);
 	isp->timer.function = isp1301_timer;
 	isp->timer.data = (unsigned long) isp;

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-01-02 20:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-28  8:02 [PATCH] ARM: OMAP: ISP1301 workqueue fixes Dirk Behme
2006-12-28 12:30 ` Komal Shah
2006-12-28 16:19   ` Dirk Behme
2006-12-28 20:07     ` David Brownell
2006-12-28 20:05 ` David Brownell
2006-12-29  8:36   ` Dirk Behme
2007-01-02 20:34     ` tony

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox