From dc39c62c3d7b4dfe4958e67e65e6e4c0f085b054 Mon Sep 17 00:00:00 2001 From: Javier Martinez Canillas Date: Tue, 4 Jan 2011 00:50:05 +0100 Subject: shortprint: Change handler function argument according current worqueue API --- shortprint/shortprint.c | 4 ++-- 1 file 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; -- cgit v1.2.1-18-gbd029