]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: core: Constify snd_device_ops definitions
authorTakashi Iwai <tiwai@suse.de>
Fri, 3 Jan 2020 08:16:20 +0000 (09:16 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 3 Jan 2020 08:23:51 +0000 (09:23 +0100)
commited543250237db9d3d7ea7fd550ab50967afc061d
tree46f6e2ee3d4d26b2500050d24ec8d503173ea89d
parent3dfd5ffdf57b347d0d1cebb57c0ab6a253d562a8
ALSA: core: Constify snd_device_ops definitions

Now we may declare const for snd_device_ops definitions, so let's do
it for optimization.

There should be no functional changes by this patch.

Link: https://lore.kernel.org/r/20200103081714.9560-5-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/compress_offload.c
sound/core/control.c
sound/core/hwdep.c
sound/core/jack.c
sound/core/pcm.c
sound/core/rawmidi.c
sound/core/seq_device.c
sound/core/timer.c