1
0
Fork 0
alistair23-linux/sound/drivers
Rikard Falkeborn e714fa9389 ALSA: aloop: Constify ops structs
The only usage of the ops field in the loopback_cable struct is to call
its members, the field it self is never changed. Make it a pointer to
const. This allows us to constify two static loopback_ops structs to
allow the compiler to put them in read-only memory.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20201120231046.76758-1-rikard.falkeborn@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2020-11-21 09:30:35 +01:00
..
mpu401 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
opl3 Merge branch 'for-next' into for-linus 2020-08-03 08:10:08 +02:00
opl4 ALSA: opl4: More constification 2020-01-05 16:15:08 +01:00
pcsp ALSA: pcsp: Fix fall-through warnings for Clang 2020-11-21 09:29:25 +01:00
vx ALSA: vx: vx_pcm: remove redundant assignment 2020-09-03 09:28:01 +02:00
Kconfig sound: ac97: Remove sound driver for ancient platform 2020-05-28 23:24:34 +10:00
Makefile sound: ac97: Remove sound driver for ancient platform 2020-05-28 23:24:34 +10:00
aloop.c ALSA: aloop: Constify ops structs 2020-11-21 09:30:35 +01:00
dummy.c ALSA: dummy: Use standard macros for fixing PCM format cast 2020-02-10 08:27:31 +01:00
mtpav.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
mts64.c ALSA: mts64: More constifications 2020-01-05 16:15:06 +01:00
portman2x4.c ALSA: portman2x4: fix repeated word 'if' 2020-10-06 18:08:19 +02:00
serial-u16550.c ALSA: serial-u16550: More constification 2020-01-05 16:15:08 +01:00
virmidi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00