diff options
| author | 2020-06-11 00:47:04 +0200 | |
|---|---|---|
| committer | 2020-06-29 18:39:44 +0200 | |
| commit | 8374680ff2eb01a58314562c895b119c75c53c2a (patch) | |
| tree | 6cab2cabbb9e2af190a68d3995ce026a801ae0cd /tools/perf/scripts/python | |
| parent | misc: mic: Remove the error message as the call will print it (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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
