From 2ec2ee9be5335054c975bcee9407964ee7db7686 Mon Sep 17 00:00:00 2001 From: Javier Martinez Canillas Date: Mon, 3 Jan 2011 20:48:32 +0100 Subject: short: Fix cast to meet workqueue handler signature --- short/short.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1-18-gbd029