|
@@ -325,7 +325,7 @@ static int apbuart_verify_port(struct uart_port *port,
|
|
return ret;
|
|
return ret;
|
|
}
|
|
}
|
|
|
|
|
|
-static struct uart_ops grlib_apbuart_ops = {
|
|
|
|
|
|
+static const struct uart_ops grlib_apbuart_ops = {
|
|
.tx_empty = apbuart_tx_empty,
|
|
.tx_empty = apbuart_tx_empty,
|
|
.set_mctrl = apbuart_set_mctrl,
|
|
.set_mctrl = apbuart_set_mctrl,
|
|
.get_mctrl = apbuart_get_mctrl,
|
|
.get_mctrl = apbuart_get_mctrl,
|