mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 23:36:40 +07:00
3a84d6c940
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> |
||
---|---|---|
.. | ||
gus_dma.c | ||
gus_dram.c | ||
gus_io.c | ||
gus_irq.c | ||
gus_main.c | ||
gus_mem_proc.c | ||
gus_mem.c | ||
gus_mixer.c | ||
gus_pcm.c | ||
gus_reset.c | ||
gus_tables.h | ||
gus_timer.c | ||
gus_uart.c | ||
gus_volume.c | ||
gusclassic.c | ||
gusextreme.c | ||
gusmax.c | ||
interwave-stb.c | ||
interwave.c | ||
Makefile |