linux_dsm_epyc7002/sound/isa/gus
Bhumika Goyal 3a84d6c940 ALSA: sound/isa: constify snd_kcontrol_new structures
Declare snd_kcontrol_new structures as const as they are only passed an
argument to the function snd_ctl_new1. This argument is of type const,
so snd_kcontrol_new structures having this property can be made const.
Done using Coccinelle:

@r disable optional_qualifier@
identifier x;
position p;
@@
static struct snd_kcontrol_new x@p={...};

@ok@
identifier r.x;
position p;
@@
snd_ctl_new1(&x@p,...)

@bad@
position p != {r.p,ok.p};
identifier r.x;
@@
x@p

@depends on !bad disable optional_qualifier@
identifier r.x;
@@
+const
struct snd_kcontrol_new x;

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2017-05-21 09:07:56 +02:00
..
gus_dma.c ALSA: gus - Add missing KERN_* prefix to printk 2009-02-05 15:46:48 +01:00
gus_dram.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
gus_io.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
gus_irq.c ALSA: gus - Add missing KERN_* prefix to printk 2009-02-05 15:46:48 +01:00
gus_main.c ALSA: sound/isa: constify snd_kcontrol_new structures 2017-05-21 09:07:56 +02:00
gus_mem_proc.c ALSA: info - Implement common llseek for binary mode 2010-04-13 12:01:20 +02:00
gus_mem.c ALSA: sound/isa/gus: Correct code taking the size of a pointer 2009-12-14 11:16:09 +01:00
gus_mixer.c ALSA: gus: use swap() in snd_ics_put_double() 2015-06-12 20:46:29 +02:00
gus_pcm.c ALSA: sound/isa: constify snd_kcontrol_new structures 2017-05-21 09:07:56 +02:00
gus_reset.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
gus_tables.h [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
gus_timer.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
gus_uart.c ALSA: isa: Constify snd_rawmidi_ops 2017-01-12 12:50:16 +01:00
gus_volume.c sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
gusclassic.c Annotate hardware config module parameters in sound/isa/ 2017-04-20 12:02:32 +01:00
gusextreme.c Annotate hardware config module parameters in sound/isa/ 2017-04-20 12:02:32 +01:00
gusmax.c Annotate hardware config module parameters in sound/isa/ 2017-04-20 12:02:32 +01:00
interwave-stb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
interwave.c Annotate hardware config module parameters in sound/isa/ 2017-04-20 12:02:32 +01:00
Makefile [ALSA] Remove sequencer instrument layer 2008-01-31 17:29:13 +01:00