diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-11-05 02:51:34 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-11-06 19:16:36 +0300 |
commit | 0d66442dfdbd45019c60bb6aeaf2d5eb45534606 (patch) | |
tree | 80ecd318b2ad2da9588705f48a75dbad391d04d0 /mm | |
parent | 439c7183e5b97952bba1747f5ffc4dea45a6a18b (diff) | |
download | linux-0d66442dfdbd45019c60bb6aeaf2d5eb45534606.tar.xz |
tty: serial: msm_serial: Constify msm_uart_pops
The only usage of msm_uart_pops is to assign its address to the ops
field in the uart_port struct, which is a pointer to const. Make it
const to allow the compiler to put it in read-only memory.
Reviewed-by: Jeffrey Hugo <jeffrey.l.hugo@gmail.com>
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20201104235134.17793-1-rikard.falkeborn@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions