aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/usb
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-08-08 15:02:14 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-08-14 04:43:47 -0400
commit6c59f56978c3dffd447176d218bc5852842c9ce9 (patch)
treea230ab5129f62fcfbb19aeb95dce4fe6647c583b /drivers/net/usb
parent6d558a52ba295fc1c281c671d7daab2f74ddb4f2 (diff)
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: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/usb')
-rw-r--r--drivers/net/usb/hso.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c
index 94c41bbedee9..35a7772cf1a6 100644
--- a/drivers/net/usb/hso.c
+++ b/drivers/net/usb/hso.c
@@ -2725,7 +2725,7 @@ static int hso_mux_submit_intr_urb(struct hso_shared_int *shared_int,
2725} 2725}
2726 2726
2727/* operations setup of the serial interface */ 2727/* operations setup of the serial interface */
2728static struct tty_operations hso_serial_ops = { 2728static const struct tty_operations hso_serial_ops = {
2729 .open = hso_serial_open, 2729 .open = hso_serial_open,
2730 .close = hso_serial_close, 2730 .close = hso_serial_close,
2731 .write = hso_serial_write, 2731 .write = hso_serial_write,