diff options
| author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-06-10 01:00:29 +0200 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2020-06-22 17:28:10 +0530 |
| commit | 51fe3881a29b034029f56da107ce0bb06025e041 (patch) | |
| tree | 9f8c9aa3462b8cab2d53f909e85a89883269650f /include/linux | |
| parent | 6d2c66695bf30355bacceb2b0635d3ddaf26cce4 (diff) | |
soundwire: qcom: Constify static structs
qcom_swrm_port_ops and qcom_swrm_ops are not modified and can be made
const to allow the compiler to put them in read-only memory.
Before:
text data bss dec hex filename
18266 3056 256 21578 544a drivers/soundwire/qcom.o
After:
text data bss dec hex filename
18426 2896 256 21578 544a drivers/soundwire/qcom.o
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20200609230029.69802-1-rikard.falkeborn@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
