From: Rikard Falkeborn <rikard.falkeborn@xxxxxxxxx> Subject: const_structs.checkpatch: add a few sound ops structs Add a couple of commonly used (>50 instances) sound ops structs that are typically const. Link: https://lkml.kernel.org/r/20210922211042.38017-1-rikard.falkeborn@xxxxxxxxx Signed-off-by: Rikard Falkeborn <rikard.falkeborn@xxxxxxxxx> Cc: Joe Perches <joe@xxxxxxxxxxx> Cc: Liam Girdwood <lgirdwood@xxxxxxxxx> Cc: Mark Brown <broonie@xxxxxxxxxx> Cc: Jaroslav Kysela <perex@xxxxxxxx> Cc: Takashi Iwai <tiwai@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- scripts/const_structs.checkpatch | 4 ++++ 1 file changed, 4 insertions(+) --- a/scripts/const_structs.checkpatch~const_structscheckpatch-add-a-few-sound-ops-structs +++ a/scripts/const_structs.checkpatch @@ -54,7 +54,11 @@ sd_desc seq_operations sirfsoc_padmux snd_ac97_build_ops +snd_pcm_ops +snd_rawmidi_ops snd_soc_component_driver +snd_soc_dai_ops +snd_soc_ops soc_pcmcia_socket_ops stacktrace_ops sysfs_ops _