Searched hist:"130 dbe04" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/sound/soc/codecs/ |
H A D | wm_adsp.h | 130dbe04 Tue May 11 12:14:59 CDT 2021 Simon Trimmer <simont@opensource.cirrus.com> ASoC: wm_adsp: mark more data structures with the const qualifier
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@opensource.cirrus.com> Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20210511171459.270169-1-simont@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
|
H A D | wm_adsp.c | 130dbe04 Tue May 11 12:14:59 CDT 2021 Simon Trimmer <simont@opensource.cirrus.com> ASoC: wm_adsp: mark more data structures with the const qualifier
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@opensource.cirrus.com> Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20210511171459.270169-1-simont@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
|