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-03 20:48:32 +0100
commit2ec2ee9be5335054c975bcee9407964ee7db7686 (patch)
tree49651b55c016592983a57c11e052809a02a6d706
parent00dfd85f782ad1ae948bdbc5224e307918024262 (diff)
downloadldd3-2ec2ee9be5335054c975bcee9407964ee7db7686.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