diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mfd/twl4030-irq.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) | |||
838 | goto fail_rqirq; | 838 | goto fail_rqirq; |
839 | } | 839 | } |
840 | 840 | ||
841 | task = kthread_run(twl4030_irq_thread, (void *)irq_num, "twl4030-irq"); | 841 | task = kthread_run(twl4030_irq_thread, (void *)(long)irq_num, |
842 | "twl4030-irq"); | ||
842 | if (IS_ERR(task)) { | 843 | if (IS_ERR(task)) { |
843 | pr_err("twl4030: could not create irq %d thread!\n", irq_num); | 844 | pr_err("twl4030: could not create irq %d thread!\n", irq_num); |
844 | status = PTR_ERR(task); | 845 | status = PTR_ERR(task); |