2021-09-22 21:12:39

by Rikard Falkeborn

[permalink] [raw]
Subject: [PATCH] const_structs.checkpatch: Add a few sound ops structs

Add a couple of commonly used (>50 instances) sound ops structs that are
typically const.

Signed-off-by: Rikard Falkeborn <[email protected]>
---
scripts/const_structs.checkpatch | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/scripts/const_structs.checkpatch b/scripts/const_structs.checkpatch
index 1aae4f4fdacc..3980985205a0 100644
--- a/scripts/const_structs.checkpatch
+++ b/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
--
2.33.0