Skip to content
Commit 35732a06 authored by Srinivasa Rao Mandadapu's avatar Srinivasa Rao Mandadapu Committed by Vinod Koul
Browse files

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: default avatarSrinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
Co-developed-by: default avatarVenkata Prasad Potturu <quic_potturu@quicinc.com>
Signed-off-by: default avatarVenkata 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: default avatarVinod Koul <vkoul@kernel.org>
parent 04d46a7b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment