diff options
Diffstat (limited to 'drivers/usb/serial/omninet.c')
-rw-r--r-- | drivers/usb/serial/omninet.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/serial/omninet.c b/drivers/usb/serial/omninet.c index 062265038bf0..89c724c0ac0a 100644 --- a/drivers/usb/serial/omninet.c +++ b/drivers/usb/serial/omninet.c | |||
@@ -75,7 +75,7 @@ static void omninet_disconnect(struct usb_serial *serial); | |||
75 | static void omninet_release(struct usb_serial *serial); | 75 | static void omninet_release(struct usb_serial *serial); |
76 | static int omninet_attach(struct usb_serial *serial); | 76 | static int omninet_attach(struct usb_serial *serial); |
77 | 77 | ||
78 | static struct usb_device_id id_table[] = { | 78 | static const struct usb_device_id id_table[] = { |
79 | { USB_DEVICE(ZYXEL_VENDOR_ID, ZYXEL_OMNINET_ID) }, | 79 | { USB_DEVICE(ZYXEL_VENDOR_ID, ZYXEL_OMNINET_ID) }, |
80 | { USB_DEVICE(ZYXEL_VENDOR_ID, BT_IGNITIONPRO_ID) }, | 80 | { USB_DEVICE(ZYXEL_VENDOR_ID, BT_IGNITIONPRO_ID) }, |
81 | { } /* Terminating entry */ | 81 | { } /* Terminating entry */ |
@@ -218,8 +218,8 @@ static void omninet_read_bulk_callback(struct urb *urb) | |||
218 | 218 | ||
219 | if (debug && header->oh_xxx != 0x30) { | 219 | if (debug && header->oh_xxx != 0x30) { |
220 | if (urb->actual_length) { | 220 | if (urb->actual_length) { |
221 | printk(KERN_DEBUG __FILE__ | 221 | printk(KERN_DEBUG "%s: omninet_read %d: ", |
222 | ": omninet_read %d: ", header->oh_len); | 222 | __FILE__, header->oh_len); |
223 | for (i = 0; i < (header->oh_len + | 223 | for (i = 0; i < (header->oh_len + |
224 | OMNINET_HEADERLEN); i++) | 224 | OMNINET_HEADERLEN); i++) |
225 | printk("%.2x ", data[i]); | 225 | printk("%.2x ", data[i]); |
@@ -332,7 +332,7 @@ static void omninet_write_bulk_callback(struct urb *urb) | |||
332 | struct usb_serial_port *port = urb->context; | 332 | struct usb_serial_port *port = urb->context; |
333 | int status = urb->status; | 333 | int status = urb->status; |
334 | 334 | ||
335 | dbg("%s - port %0x\n", __func__, port->number); | 335 | dbg("%s - port %0x", __func__, port->number); |
336 | 336 | ||
337 | port->write_urb_busy = 0; | 337 | port->write_urb_busy = 0; |
338 | if (status) { | 338 | if (status) { |