Skip to content

Commit

Permalink
USB: HSO: make tty_operations const
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman authored and Jeff Garzik committed Aug 14, 2008
1 parent 6d558a5 commit 6c59f56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/usb/hso.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6c59f56

Please sign in to comment.