diff options
| author | Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com> | 2022-03-02 18:13:01 +0530 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2022-03-02 21:18:46 +0530 |
| commit | 35732a0694cd2e8642d90f9b49a99742faadd869 (patch) | |
| tree | acf206310f3788b8e743d85ec119f848a6f069ed /lib/mpi/mpi-add.c | |
| parent | 04d46a7b38375aef945b663a3957f85025f74934 (diff) | |
soundwire: qcom: constify static struct qcom_swrm_data global variables
The qcom_swrm_data structures is only required for setting soundwire
params, so make the qcom_swrm_data structure const to allow the compiler
to put it in read-only memory and avoid unintentional modifications.
Signed-off-by: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
Co-developed-by: Venkata Prasad Potturu <quic_potturu@quicinc.com>
Signed-off-by: Venkata Prasad Potturu <quic_potturu@quicinc.com>
Link: https://lore.kernel.org/r/1646224982-3361-3-git-send-email-quic_srivasam@quicinc.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions
