Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

shortprint: Change handler function argument according current worque…

…ue API
  • Loading branch information...
commit dc39c62c3d7b4dfe4958e67e65e6e4c0f085b054 1 parent 27a1005
@martinezjavier authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 shortprint/shortprint.c
4 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 @@ static ssize_t shortp_write(struct file *filp, const char __user *buf, size_t co
-static void shortp_do_work(void *unused)
+static void shortp_do_work(struct work_struct *work)
int written;
unsigned long flags;
Please sign in to comment.
Something went wrong with that request. Please try again.