ASoC: uniphier: Constify static snd_pcm_hardware
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 29 Apr 2024 11:48:49 +0000 (13:48 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 6 May 2024 15:00:22 +0000 (00:00 +0900)
commit74a15fabd271d0fd82ceecbbfa1b98ea0a4709dd
tree65174f595280e701c0a7a68c78a1a647bea216fb
parent7b5ce9f0c52a5885d34d46bba62e9eaedc3dd459
ASoC: uniphier: Constify static snd_pcm_hardware

Static 'struct snd_pcm_hardware' is not modified by the driver and its
copy is passed to the core, so it can be made const for increased code
safety.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240429-n-asoc-const-snd-pcm-hardware-v1-4-c6ce60989834@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/uniphier/aio-dma.c