linux/sound/pci/ice1712
Bhumika Goyal 3135432e42 ALSA: ice1712: add const to snd_akm4xxx structures
Declare snd_akm4xxx structures  as const as they are only passed
to the function snd_ice1712_akm4xxx_init. This argument is of type
const, so make the structures const.
Done using Coccinelle:

@match disable optional_qualifier@
identifier s;
position p;
@@
static struct snd_akm4xxx s@p={...};

@good1@
identifier match.s;
position p;
@@
snd_ice1712_akm4xxx_init(...,&s@p,...)

@bad@
identifier match.s;
position p!={match.p,good1.p};
@@
s@p

@depends on !bad disable optional_qualifier@
identifier match.s;
@@
static
+const
struct snd_akm4xxx s={...};

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2017-08-06 22:16:59 +02:00
..
ak4xxx.c ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
amp.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
amp.h
aureon.c ALSA: ice1724: Use snd_ctl_enum_info() 2014-10-21 09:02:50 +02:00
aureon.h
delta.c ALSA: ice1712: add const to snd_akm4xxx structures 2017-08-06 22:16:59 +02:00
delta.h ALSA: ice1712 - working M-Audio Delta 66E support 2010-12-09 08:40:01 +01:00
envy24ht.h ALSA: ice1724 - Create capture pcm only for ADC-enabled configurations 2012-01-11 08:56:59 +01:00
ews.c ALSA: ice1712: add const to snd_akm4xxx structures 2017-08-06 22:16:59 +02:00
ews.h [ALSA] ice1712 - Add Terrasoniq TS88 support 2008-04-24 12:00:40 +02:00
hoontech.c ALSA: ice1712: add const to snd_akm4xxx structures 2017-08-06 22:16:59 +02:00
hoontech.h
ice1712.c ALSA: ice1712: Constify hw_constraints 2017-06-09 10:42:52 +02:00
ice1712.h ALSA: ice1712: Constify hw_constraints 2017-06-09 10:42:52 +02:00
ice1724.c ALSA: ice1724: Constify hw_constraints 2017-06-09 10:42:53 +02:00
juli.c ALSA: ice1712: add const to snd_akm4xxx structures 2017-08-06 22:16:59 +02:00
juli.h
Makefile ALSA: ice1712: Add Philips PSC724 Ultimate Edge 2012-10-17 09:01:32 +02:00
maya44.c ALSA: ice1724: Constify hw_constraints 2017-06-09 10:42:53 +02:00
maya44.h ALSA: ice1724 - Add ESI Maya44 support 2009-05-06 17:33:19 +02:00
phase.c ALSA: ice1712: add const to snd_akm4xxx structures 2017-08-06 22:16:59 +02:00
phase.h ALSA: ice1712/ice1724: Coding style fixes part 1 (more coming up) 2008-09-09 09:11:44 +02:00
pontis.c ALSA: ice1724: Use snd_ctl_enum_info() 2014-10-21 09:02:50 +02:00
pontis.h
prodigy192.c ALSA: ice1712: remove unneeded return statement 2014-11-14 14:16:36 +01:00
prodigy192.h
prodigy_hifi.c ALSA: ice1724: Use snd_ctl_enum_info() 2014-10-21 09:02:50 +02:00
prodigy_hifi.h [ALSA] ice1724 - Add missing prodigy_hifi.h 2008-01-31 17:30:03 +01:00
psc724.c ALSA: Use strlcpy() instead of strncpy() 2013-10-29 15:26:12 +01:00
psc724.h ALSA: ice1712: Add Philips PSC724 Ultimate Edge 2012-10-17 09:01:32 +02:00
quartet.c ALSA: ice1712: add const to snd_akm4xxx structures 2017-08-06 22:16:59 +02:00
quartet.h ALSA: ice1724 - Infrasonic Quartet support 2009-09-21 15:49:04 +02:00
revo.c ALSA: ice1712: add const to snd_akm4xxx structures 2017-08-06 22:16:59 +02:00
revo.h
se.c ALSA: ice1724: Use snd_ctl_enum_info() 2014-10-21 09:02:50 +02:00
se.h [ALSA] ice1724 - Add support of Onkyo SE-90PCI and SE-200PCI 2008-01-31 17:29:09 +01:00
stac946x.h
vt1720_mobo.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
vt1720_mobo.h
wm8766.c scripts/spelling.txt: add "an union" pattern and fix typo instances 2017-02-27 18:43:46 -08:00
wm8766.h ALSA: ice1712: wm8766: Remove some unused functions 2015-01-11 17:03:52 +01:00
wm8776.c scripts/spelling.txt: add "an union" pattern and fix typo instances 2017-02-27 18:43:46 -08:00
wm8776.h ALSA: ice1712: wm8776.c: Remove some unused functions 2014-12-26 12:22:09 +01:00
wtm.c ALSA: ice1724: ESI W192M: Add sampling rate control of the ADC/DAC 2015-03-18 08:07:00 +01:00
wtm.h ALSA: ice1712/wtm: fix coding style 2008-09-09 09:11:39 +02:00