[PATCH] const struct tty_operations
[linux-block.git] / drivers / char / moxa.c
index c1a6d3c48da155da8c9e974090ad6e4efe3a4b8c..b401383808c26ac4c16ce38f15fc129b4dafd56a 100644 (file)
@@ -281,7 +281,7 @@ static int moxa_get_serial_info(struct moxa_str *, struct serial_struct __user *
 static int moxa_set_serial_info(struct moxa_str *, struct serial_struct __user *);
 static void MoxaSetFifo(int port, int enable);
 
-static struct tty_operations moxa_ops = {
+static const struct tty_operations moxa_ops = {
        .open = moxa_open,
        .close = moxa_close,
        .write = moxa_write,