android_kernel_google_msm/sound/soc/sh
Lars-Peter Clausen 93c86c4916 ASoC: dma-sh7760: Fix compile error
commit 417a1178f1 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-04-12 09:38:43 -07:00
..
dma-sh7760.c ASoC: dma-sh7760: Fix compile error 2013-04-12 09:38:43 -07:00
fsi-ak4642.c ASoC: sh: Add .owner to struct snd_soc_card 2011-12-23 11:32:07 +00:00
fsi-da7210.c ASoC: sh: Add .owner to struct snd_soc_card 2011-12-23 11:32:07 +00:00
fsi-hdmi.c ASoC: sh: Add .owner to struct snd_soc_card 2011-12-23 11:32:07 +00:00
fsi.c ASoC: fsi: don't reschedule DMA from an atomic context 2012-10-21 09:28:01 -07:00
hac.c ASoC: Convert sh directory to module_platform_driver 2011-11-25 13:15:29 +00:00
Kconfig ASoC: sh: fsi: modify improper dependent 2010-12-21 23:22:47 +00:00
Makefile
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
siu_dai.c ASoC: Use core pm_runtime callbacks for siu_dai 2011-12-15 02:26:58 +08:00
siu_pcm.c dmaengine/dma_slave: introduce inline wrappers 2012-03-21 19:20:22 +05:30
ssi.c ASoC: Convert sh directory to module_platform_driver 2011-11-25 13:15:29 +00:00