[PATCH 00/11] constify uart_ops structures
From: Julia Lawall <hidden>
Date: 2017-08-13 06:47:29
Also in:
kernel-janitors, linux-amlogic, linux-serial, linuxppc-dev, lkml
From: Julia Lawall <hidden>
Date: 2017-08-13 06:47:29
Also in:
kernel-janitors, linux-amlogic, linux-serial, linuxppc-dev, lkml
These uart_ops structures are only stored in the ops field of a uart_port structure and this fields is const, so the uart_ops structures can also be const. Done with the help of Coccinelle. --- drivers/tty/serial/21285.c | 2 +- drivers/tty/serial/apbuart.c | 2 +- drivers/tty/serial/cpm_uart/cpm_uart_core.c | 2 +- drivers/tty/serial/m32r_sio.c | 2 +- drivers/tty/serial/meson_uart.c | 2 +- drivers/tty/serial/mpc52xx_uart.c | 2 +- drivers/tty/serial/mux.c | 2 +- drivers/tty/serial/owl-uart.c | 2 +- drivers/tty/serial/sunsab.c | 2 +- drivers/tty/serial/sunsu.c | 2 +- drivers/tty/serial/ucc_uart.c | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-)