diff options
author | Rikard Falkeborn <[email protected]> | 2020-11-05 00:51:34 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-11-06 17:16:36 +0100 |
commit | 0d66442dfdbd45019c60bb6aeaf2d5eb45534606 (patch) | |
tree | 80ecd318b2ad2da9588705f48a75dbad391d04d0 /lib/mpi/mpi-add.c | |
parent | 439c7183e5b97952bba1747f5ffc4dea45a6a18b (diff) |
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 <[email protected]>
Signed-off-by: Rikard Falkeborn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions