aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/metro-usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/serial/metro-usb.c')
-rw-r--r--drivers/usb/serial/metro-usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/metro-usb.c b/drivers/usb/serial/metro-usb.c
index 40ccf6e5e318..2b648c41f4e7 100644
--- a/drivers/usb/serial/metro-usb.c
+++ b/drivers/usb/serial/metro-usb.c
@@ -54,7 +54,7 @@ MODULE_DEVICE_TABLE(usb, id_table);
54#define UNI_CMD_OPEN 0x80 54#define UNI_CMD_OPEN 0x80
55#define UNI_CMD_CLOSE 0xFF 55#define UNI_CMD_CLOSE 0xFF
56 56
57inline int metrousb_is_unidirectional_mode(struct usb_serial_port *port) 57static inline int metrousb_is_unidirectional_mode(struct usb_serial_port *port)
58{ 58{
59 __u16 product_id = le16_to_cpu( 59 __u16 product_id = le16_to_cpu(
60 port->serial->dev->descriptor.idProduct); 60 port->serial->dev->descriptor.idProduct);