From: Alan Cox Date: Tue, 17 Nov 2009 15:48:47 +0000 (+0000) Subject: mfd: Fix twl4030 warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=89f5f9f79e5b3caae3e39832774f0f909c18ec5e;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git mfd: Fix twl4030 warning Signed-off-by: Alan Cox Signed-off-by: Samuel Ortiz --- diff --git a/drivers/mfd/twl4030-irq.c b/drivers/mfd/twl4030-irq.c index 0b733028828f..3f7e93ca0514 100644 --- a/drivers/mfd/twl4030-irq.c +++ b/drivers/mfd/twl4030-irq.c @@ -838,7 +838,8 @@ int twl_init_irq(int irq_num, unsigned irq_base, unsigned irq_end) goto fail_rqirq; } - task = kthread_run(twl4030_irq_thread, (void *)irq_num, "twl4030-irq"); + task = kthread_run(twl4030_irq_thread, (void *)(long)irq_num, + "twl4030-irq"); if (IS_ERR(task)) { pr_err("twl4030: could not create irq %d thread!\n", irq_num); status = PTR_ERR(task);