[PATCH v6 2/3] soundwire: qcom: constify static struct qcom_swrm_data global variables

Vinod Koul vkoul at kernel.org
Wed Mar 2 16:49:10 CET 2022


On 02-03-22, 18:13, Srinivasa Rao Mandadapu wrote:
> 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.

Applied, thanks

-- 
~Vinod


More information about the Alsa-devel mailing list