[PATCH] ASoC: wm_adsp: mark more data structures with the const qualifier

Charles Keepax ckeepax at opensource.cirrus.com
Wed May 12 10:24:04 CEST 2021


On Tue, May 11, 2021 at 06:14:59PM +0100, Simon Trimmer wrote:
> The callback structures and memory region type table can be marked as
> const as they will not change during use.
> 
> Fix checkpatch warning against wm_adsp_find_region function by moving
> const keyword to form the 'static const struct' pattern.
> 
> Signed-off-by: Simon Trimmer <simont at opensource.cirrus.com>
> ---

Acked-by: Charles Keepax <ckeepax at opensource.cirrus.com>

Thanks,
Charles


More information about the Alsa-devel mailing list