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-08 00:54:51 +0100
commitdc39c62c3d7b4dfe4958e67e65e6e4c0f085b054 (patch)
treedd25dd3d9212a7574bec7adcf94d9b1d34aa70f3
parent27a1005a86a809dbb48829edad0c59723f571ee3 (diff)
downloadldd3-dc39c62c3d7b4dfe4958e67e65e6e4c0f085b054.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;