Commit 6c59f569 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman Committed by Jeff Garzik

USB: HSO: make tty_operations const

As recommended by Arjan.

Cc: Arjan van de Ven <arjan@infradead.org>
Cc: Andrew Bird <ajb@spheresystems.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 6d558a52
...@@ -2725,7 +2725,7 @@ static int hso_mux_submit_intr_urb(struct hso_shared_int *shared_int, ...@@ -2725,7 +2725,7 @@ static int hso_mux_submit_intr_urb(struct hso_shared_int *shared_int,
} }
/* operations setup of the serial interface */ /* operations setup of the serial interface */
static struct tty_operations hso_serial_ops = { static const struct tty_operations hso_serial_ops = {
.open = hso_serial_open, .open = hso_serial_open,
.close = hso_serial_close, .close = hso_serial_close,
.write = hso_serial_write, .write = hso_serial_write,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment