]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/tty/serial/timbuart.c
tty: serial: constify uart_ops structures
[mirror_ubuntu-bionic-kernel.git] / drivers / tty / serial / timbuart.c
index 512c162634a37d382fb78b269ec419e9fea52cf7..5da7fe40e391afae83ddba0ccdab44bc30909e32 100644 (file)
@@ -394,7 +394,7 @@ static int timbuart_verify_port(struct uart_port *port,
        return -EINVAL;
 }
 
-static struct uart_ops timbuart_ops = {
+static const struct uart_ops timbuart_ops = {
        .tx_empty = timbuart_tx_empty,
        .set_mctrl = timbuart_set_mctrl,
        .get_mctrl = timbuart_get_mctrl,