OpenCloudOS-Kernel/sound/soc/sh
Lars-Peter Clausen 417a1178f1 ASoC: dma-sh7760: Fix compile error
The dma-sh7760 currently fails with the following compile error:
	sound/soc/sh/dma-sh7760.c:346:2: error: unknown field 'pcm_ops' specified in initializer
	sound/soc/sh/dma-sh7760.c:346:2: warning: initialization from incompatible pointer type
	sound/soc/sh/dma-sh7760.c:347:2: error: unknown field 'pcm_new' specified in initializer
	sound/soc/sh/dma-sh7760.c:347:2: warning: initialization makes integer from pointer without a cast
	sound/soc/sh/dma-sh7760.c:348:2: error: unknown field 'pcm_free' specified in initializer
	sound/soc/sh/dma-sh7760.c:348:2: warning: initialization from incompatible pointer type
	sound/soc/sh/dma-sh7760.c: In function 'sh7760_soc_platform_probe':
	sound/soc/sh/dma-sh7760.c:353:2: warning: passing argument 2 of 'snd_soc_register_platform' from incompatible pointer type
	include/sound/soc.h:368:5: note: expected 'struct snd_soc_platform_driver *' but argument is of type 'struct snd_soc_platform *'

This is due the misnaming of the snd_soc_platform_driver type name and 'ops'
field. The issue was introduced in commit f0fba2a("ASoC: multi-component - ASoC
Multi-Component Support").

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@vger.kernel.org
2013-03-22 12:23:11 +01:00
..
Kconfig ASoC: sh: fsi: select simple-card on Kconfig 2012-04-13 11:29:28 +01:00
Makefile ASoC: sh: fsi: use simple-card instead of fsi-da7210 2012-04-13 11:29:27 +01:00
dma-sh7760.c ASoC: dma-sh7760: Fix compile error 2013-03-22 12:23:11 +01:00
fsi.c ASoC: fsi: Remove __devinitconst 2013-01-16 20:28:59 +09:00
hac.c ASoC: sh: remove __dev* attributes 2012-12-10 00:31:36 +09:00
migor.c ASoC: sh: fix migor.c compilation 2012-05-09 12:41:05 +01:00
sh7760-ac97.c ASoC: sh: Add .owner to struct snd_soc_card 2011-12-23 11:32:07 +00:00
siu.h ASoC: Do not include soc-dai.h 2010-11-22 14:04:53 +00:00
siu_dai.c ASoC: sh: remove __dev* attributes 2012-12-10 00:31:36 +09:00
siu_pcm.c ASoC: siu: don't use DMA device for channel filtering 2012-07-20 11:23:44 +05:30
ssi.c ASoC: sh: remove __dev* attributes 2012-12-10 00:31:36 +09:00