aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/gadget/serial.c')
-rw-r--r--drivers/usb/gadget/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/serial.c b/drivers/usb/gadget/serial.c
index b893e3118e1b..489a85e58bca 100644
--- a/drivers/usb/gadget/serial.c
+++ b/drivers/usb/gadget/serial.c
@@ -271,7 +271,7 @@ static unsigned int use_acm = GS_DEFAULT_USE_ACM;
271 271
272 272
273/* tty driver struct */ 273/* tty driver struct */
274static struct tty_operations gs_tty_ops = { 274static const struct tty_operations gs_tty_ops = {
275 .open = gs_open, 275 .open = gs_open,
276 .close = gs_close, 276 .close = gs_close,
277 .write = gs_write, 277 .write = gs_write,