diff options
Diffstat (limited to 'shortprint')
-rw-r--r-- | shortprint/shortprint.c | 4 |
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; |