aboutsummaryrefslogtreecommitdiff
path: root/drivers/mfd
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2009-11-17 15:48:47 +0000
committerSamuel Ortiz <sameo@linux.intel.com>2009-12-13 19:21:45 +0100
commit89f5f9f79e5b3caae3e39832774f0f909c18ec5e (patch)
tree0cf943b406c4d55b783e85e1c6136da2e7962a5c /drivers/mfd
parentdc0fb25c14e37f2ab843c2901743222f2be7f447 (diff)
mfd: Fix twl4030 warning
Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/twl4030-irq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mfd/twl4030-irq.c b/drivers/mfd/twl4030-irq.c
index 0b733028828..3f7e93ca051 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);