summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavier Martinez Canillas <martinez.javier@gmail.com>2011-01-03 20:48:32 +0100
committerJavier Martinez Canillas <martinez.javier@gmail.com>2011-01-08 00:51:53 +0100
commit03c545f9a74be052e0b2f2bdeaf4a40d125ac908 (patch)
treee3e16170ab4f49000307a90cc4c09085964d5596
parent2271ac7ec52199572c21c7469c549942b0aed7a2 (diff)
downloadldd3-03c545f9a74be052e0b2f2bdeaf4a40d125ac908.tar.gz
short: Fix cast to meet workqueue handler signature
-rw-r--r--short/short.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/short/short.c b/short/short.c
index 4dc1a4b..90d3feb 100644
--- a/short/short.c
+++ b/short/short.c
@@ -593,7 +593,7 @@ int short_init(void)
* (unused) argument.
*/
/* this line is in short_init() */
- INIT_WORK(&short_wq, (void (*)(void *)) short_do_tasklet);
+ INIT_WORK(&short_wq, (void (*)(struct work_struct *)) short_do_tasklet);
/*
* Now we deal with the interrupt: either kernel-based