]> 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)
commit478762fc40bbe19aa26bba3b82e0f4cd7981e6f3
tree246f05de5614cf5902869ec8cf5eb3aaba2e0750
parent2f9b307bba3a7208b58bc5b84fad2d182718373b
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