diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-06-11 00:47:04 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-06-29 18:39:44 +0200 |
commit | 8374680ff2eb01a58314562c895b119c75c53c2a (patch) | |
tree | 6cab2cabbb9e2af190a68d3995ce026a801ae0cd /drivers/clocksource | |
parent | 68daf1dffad28f1d12e76358920d7d09d4371b52 (diff) |
mic: vop: Constify static structs
vop_vq_config_ops and id_table[] are never modified so make them const
to allow the compiler to put them in read-only memory.
Before:
text data bss dec hex filename
14889 4065 192 19146 4aca drivers/misc/mic/vop/vop_main.o
After:
text data bss dec hex filename
15113 3841 192 19146 4aca drivers/misc/mic/vop/vop_main.o
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20200610224704.27082-5-rikard.falkeborn@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/clocksource')
0 files changed, 0 insertions, 0 deletions