diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-08-08 19:02:14 (GMT) |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-08-14 08:43:47 (GMT) |
commit | 6c59f56978c3dffd447176d218bc5852842c9ce9 (patch) | |
tree | a230ab5129f62fcfbb19aeb95dce4fe6647c583b /drivers/net/usb/hso.c | |
parent | 6d558a52ba295fc1c281c671d7daab2f74ddb4f2 (diff) | |
download | linux-fsl-qoriq-6c59f56978c3dffd447176d218bc5852842c9ce9.tar.xz |
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/hso.c')
-rw-r--r-- | drivers/net/usb/hso.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c index 94c41bb..35a7772 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, } /* 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, .close = hso_serial_close, .write = hso_serial_write, |