From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dirk Behme Subject: [PATCH] ARM: OMAP: ISP1301 workqueue fixes Date: Thu, 28 Dec 2006 09:02:08 +0100 Message-ID: <45937A00.1070803@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------020301000008010407090907" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-omap-open-source-bounces@linux.omap.com Errors-To: linux-omap-open-source-bounces@linux.omap.com To: linux-omap-open-source@linux.omap.com List-Id: linux-omap@vger.kernel.org This is a multi-part message in MIME format. --------------020301000008010407090907 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit ARM: OMAP: ISP1301 workqueue fixes. Signed-off-by: Dirk Behme --------------020301000008010407090907 Content-Type: text/plain; name="isp1301_workqueue_fix.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="isp1301_workqueue_fix.txt" ARM: OMAP: ISP1301 workqueue fixes. Signed-off-by: Dirk Behme 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; --------------020301000008010407090907 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --------------020301000008010407090907--