mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-10 15:58:47 +00:00
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>
This commit is contained in:
parent
6d558a52ba
commit
6c59f56978
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user