Commit c11ea16f authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] digi_accelport warning fix

Use the correct type for the workqueue callback.
parent 8c7981bc
...@@ -444,7 +444,7 @@ struct digi_port { ...@@ -444,7 +444,7 @@ struct digi_port {
/* Local Function Declarations */ /* Local Function Declarations */
static void digi_wakeup_write( struct usb_serial_port *port ); static void digi_wakeup_write( struct usb_serial_port *port );
static void digi_wakeup_write_lock( struct usb_serial_port *port ); static void digi_wakeup_write_lock(void *);
static int digi_write_oob_command( struct usb_serial_port *port, static int digi_write_oob_command( struct usb_serial_port *port,
unsigned char *buf, int count, int interruptible ); unsigned char *buf, int count, int interruptible );
static int digi_write_inb_command( struct usb_serial_port *port, static int digi_write_inb_command( struct usb_serial_port *port,
...@@ -608,9 +608,9 @@ static inline long cond_wait_interruptible_timeout_irqrestore( ...@@ -608,9 +608,9 @@ static inline long cond_wait_interruptible_timeout_irqrestore(
* on writes. * on writes.
*/ */
static void digi_wakeup_write_lock( struct usb_serial_port *port ) static void digi_wakeup_write_lock(void *arg)
{ {
struct usb_serial_port *port = arg;
unsigned long flags; unsigned long flags;
struct digi_port *priv = usb_get_serial_port_data(port); struct digi_port *priv = usb_get_serial_port_data(port);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment