]> asedeno.scripts.mit.edu Git - linux.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)
commitf15ee210cdb87f82147df237d2fcfc4527523d62
tree46f6e2ee3d4d26b2500050d24ec8d503173ea89d
parent8b575824304dd18a90616cbcf0f81ca1ed1fb5d2
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