diff options
author | Javier Martinez Canillas <martinez.javier@gmail.com> | 2011-01-03 20:48:32 +0100 |
---|---|---|
committer | Javier Martinez Canillas <martinez.javier@gmail.com> | 2011-01-03 20:48:32 +0100 |
commit | 2ec2ee9be5335054c975bcee9407964ee7db7686 (patch) | |
tree | 49651b55c016592983a57c11e052809a02a6d706 | |
parent | 00dfd85f782ad1ae948bdbc5224e307918024262 (diff) | |
download | ldd3-2ec2ee9be5335054c975bcee9407964ee7db7686.tar.gz |
short: Fix cast to meet workqueue handler signature
-rw-r--r-- | short/short.c | 2 |
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 |