aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/usb-serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/serial/usb-serial.c')
-rw-r--r--drivers/usb/serial/usb-serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/usb-serial.c b/drivers/usb/serial/usb-serial.c
index 0222d92842b8..8006e51c34bb 100644
--- a/drivers/usb/serial/usb-serial.c
+++ b/drivers/usb/serial/usb-serial.c
@@ -1015,7 +1015,7 @@ void usb_serial_disconnect(struct usb_interface *interface)
1015 dev_info(dev, "device disconnected\n"); 1015 dev_info(dev, "device disconnected\n");
1016} 1016}
1017 1017
1018static struct tty_operations serial_ops = { 1018static const struct tty_operations serial_ops = {
1019 .open = serial_open, 1019 .open = serial_open,
1020 .close = serial_close, 1020 .close = serial_close,
1021 .write = serial_write, 1021 .write = serial_write,