]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: pxa: constify snd_soc_ops structures
authorBhumika Goyal <bhumirks@gmail.com>
Mon, 13 Mar 2017 19:46:40 +0000 (01:16 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 15 Mar 2017 13:34:16 +0000 (13:34 +0000)
commit772c8da599ab811d0f1f7ac51bf6ea88082d2f74
tree54e60745b52efab45ed1a03483f4555a2d602367
parenta4d88a1b8f6ab058fdf44c89d47572a74a946d33
ASoC: pxa: constify snd_soc_ops structures

Declare snd_soc_ops structures as const as they are only stored
in the ops field of a snd_soc_dai_link structure. This field is
of type const, so snd_soc_ops structures having this property
can be made const too.

The .o files did not compile for all the changed .c files.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/pxa/brownstone.c
sound/soc/pxa/corgi.c
sound/soc/pxa/hx4700.c
sound/soc/pxa/imote2.c
sound/soc/pxa/magician.c
sound/soc/pxa/poodle.c
sound/soc/pxa/raumfeld.c
sound/soc/pxa/spitz.c
sound/soc/pxa/tosa.c
sound/soc/pxa/z2.c
sound/soc/pxa/zylonite.c