summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavier Martinez Canillas <martinez.javier@gmail.com>2011-01-04 00:50:05 +0100
committerJavier Martinez Canillas <martinez.javier@gmail.com>2011-01-04 00:50:05 +0100
commit55c6f9b6b819b5bd6fedef1792027c1e2dd03e4d (patch)
tree985309c44d30cdf0ebdca03ab1d0e98aee099461
parentc892f66346d9da6835befc9aa37e07d6f2de248c (diff)
downloadldd3-55c6f9b6b819b5bd6fedef1792027c1e2dd03e4d.tar.gz
shortprint: Change handler function argument according current worqueue API
-rw-r--r--shortprint/shortprint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shortprint/shortprint.c b/shortprint/shortprint.c
index 9168aeb..5c74e92 100644
--- a/shortprint/shortprint.c
+++ b/shortprint/shortprint.c
@@ -107,7 +107,7 @@ static DECLARE_WAIT_QUEUE_HEAD(shortp_out_queue);
* Feeding the output queue to the device is handled by way of a
* workqueue.
*/
-static void shortp_do_work(void *);
+static void shortp_do_work(struct work_struct *work);
static DECLARE_WORK(shortp_work, shortp_do_work);
static struct workqueue_struct *shortp_workqueue;
@@ -321,7 +321,7 @@ out:
*/
-static void shortp_do_work(void *unused)
+static void shortp_do_work(struct work_struct *work)
{
int written;
unsigned long flags;