linux-stable/sound/pci/ctxfi
Julia Lawall 071f1344f4 ALSA: pci: constify local structures
For structure types defined in the same file or local header files, find
top-level static structure declarations that have the following
properties:
1. Never reassigned.
2. Address never taken
3. Not passed to a top-level macro call
4. No pointer or array-typed field passed to a function or stored in a
variable.
Declare structures having all of these properties as const.

Done using Coccinelle.
Based on a suggestion by Joe Perches <joe@perches.com>.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2016-09-12 08:17:19 +02:00
..
Makefile ALSA: ctxfi - Use native timer interrupt on emu20k1 2009-06-05 16:44:13 +02:00
ct20k1reg.h ALSA: ctxfi: ct20k1reg: Fix typo in include guard 2014-08-22 11:24:57 +02:00
ct20k2reg.h ALSA: ctxfi: Add support for Creative Titanium HD 2011-06-14 07:32:29 +02:00
ctamixer.c ALSA: ctxfi: constify rsc ops structures 2015-11-11 08:40:56 +01:00
ctamixer.h ALSA: ctxfi: constify rsc ops structures 2015-11-11 08:40:56 +01:00
ctatc.c ALSA: pci: constify local structures 2016-09-12 08:17:19 +02:00
ctatc.h ALSA: ctxfi: changed void * to struct hw * 2014-09-30 10:34:29 +02:00
ctdaio.c ALSA: ctxfi: constify rsc ops structures 2015-11-11 08:40:56 +01:00
ctdaio.h ALSA: ctxfi: constify rsc ops structures 2015-11-11 08:40:56 +01:00
cthardware.c ALSA: ctxfi: Use WARN_ON() instead of BUG_ON() 2013-11-06 08:34:49 +01:00
cthardware.h ALSA: ctxfi: added reference of snd_card 2014-09-30 10:35:48 +02:00
cthw20k1.c ALSA: remove deprecated use of pci api 2015-04-16 12:19:52 +02:00
cthw20k1.h
cthw20k2.c ALSA: ctxfi: Change structure initialisation to C99 style 2016-06-17 16:58:45 +02:00
cthw20k2.h
ctimap.c ALSA: ctxfi - Remove useless initializations and cast 2009-06-08 14:57:57 +02:00
ctimap.h
ctmixer.c ALSA: ctxfi: pr_* replaced with dev_* 2014-09-30 10:36:59 +02:00
ctmixer.h ALSA: PCI: Replace CONFIG_PM with CONFIG_PM_SLEEP 2012-08-14 18:12:04 +02:00
ctpcm.c ALSA: constify snd_pcm_ops structures 2016-09-02 11:49:10 +02:00
ctpcm.h
ctresource.c ALSA: ctxfi: constify rsc ops structures 2015-11-11 08:40:56 +01:00
ctresource.h ALSA: ctxfi: constify rsc ops structures 2015-11-11 08:40:56 +01:00
ctsrc.c ALSA: ctxfi: constify rsc ops structures 2015-11-11 08:40:56 +01:00
ctsrc.h ALSA: ctxfi: constify rsc ops structures 2015-11-11 08:40:56 +01:00
cttimer.c ALSA: constify ct_timer_ops structures 2016-04-09 10:58:04 +02:00
cttimer.h ALSA: ctxfi - Use native timer interrupt on emu20k1 2009-06-05 16:44:13 +02:00
ctvmem.c ALSA: squash lines for simple wrapper functions 2016-09-07 20:35:29 +02:00
ctvmem.h ALSA: ctxfi: Bump playback substreams to 256 2011-08-24 10:39:44 +02:00
xfi.c ALSA: ctxfi: pr_* replaced with dev_* 2014-09-30 10:36:59 +02:00