diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-06-11 00:47:03 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-06-29 18:39:44 +0200 |
commit | 50bf73bdce8efc57f563297a6c2fedaedefa849e (patch) | |
tree | 188fd7cdca014fc4023a6bbd397bf85022fb9201 /drivers/misc/mei/pci-me.c | |
parent | 8374680ff2eb01a58314562c895b119c75c53c2a (diff) |
mei: hdcp: Constify struct mei_cl_device_id
mei_hdcp_tbl[] is never modified and can be made const to allow the
compiler to put it in read-only memory.
Before:
text data bss dec hex filename
15844 5416 0 21260 530c drivers/misc/mei/hdcp/mei_hdcp.o
After:
text data bss dec hex filename
16004 5256 0 21260 530c drivers/misc/mei/hdcp/mei_hdcp.o
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20200610224704.27082-4-rikard.falkeborn@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/pci-me.c')
0 files changed, 0 insertions, 0 deletions