]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: dummy: Constify snd_pcm_ops definitions
authorTakashi Iwai <tiwai@suse.de>
Fri, 3 Jan 2020 08:16:59 +0000 (09:16 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 3 Jan 2020 08:24:36 +0000 (09:24 +0100)
commit36d4c8feaef83c20b619f30db0363b8695f98e49
tree246f05de5614cf5902869ec8cf5eb3aaba2e0750
parentf17c0c915b9f0d5b633fae426c828a9fb368a0d8
ALSA: dummy: Constify snd_pcm_ops definitions

The snd_pcm_ops items defined in snd-dummy driver can be gracefully
declared as const.  Let's mark them for further optimization.

There should be no functional changes by this patch.

Link: https://lore.kernel.org/r/20200103081714.9560-44-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/dummy.c