diff options
author | Javier Martinez Canillas <martinez.javier@gmail.com> | 2011-01-04 00:50:05 +0100 |
---|---|---|
committer | Javier Martinez Canillas <martinez.javier@gmail.com> | 2011-01-08 00:54:51 +0100 |
commit | dc39c62c3d7b4dfe4958e67e65e6e4c0f085b054 (patch) | |
tree | dd25dd3d9212a7574bec7adcf94d9b1d34aa70f3 | |
parent | 27a1005a86a809dbb48829edad0c59723f571ee3 (diff) | |
download | ldd3-dc39c62c3d7b4dfe4958e67e65e6e4c0f085b054.tar.gz |
shortprint: Change handler function argument according current worqueue API
-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; |