projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc0fb25
)
mfd: Fix twl4030 warning
author
Alan Cox
<alan@linux.intel.com>
Tue, 17 Nov 2009 15:48:47 +0000
(15:48 +0000)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Sun, 13 Dec 2009 18:21:45 +0000
(19:21 +0100)
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/twl4030-irq.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/twl4030-irq.c
b/drivers/mfd/twl4030-irq.c
index
0b73302
..
3f7e93c
100644
(file)
--- 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);