From: Lars-Peter Clausen <lars@metafoo.de>
To: Lars-Peter Clausen <lars@metafoo.de>
Cc: Manuel Lauss <manuel.lauss@gmail.com>,
alsa-devel@alsa-project.org,
Mark Brown <broonie@opensource.wolfsonmicro.com>,
Liam Girdwood <lgirdwood@gmail.com>
Subject: Re: [PATCH] SoC: dma-sh7760: Fix compile error
Date: Fri, 15 Mar 2013 11:44:51 +0100 [thread overview]
Message-ID: <5142FBA3.8070600@metafoo.de> (raw)
In-Reply-To: <1363343175-14744-1-git-send-email-lars@metafoo.de>
Sorry for the hiccup in patch subject, the prefix should have of course been
"ASoC"
On 03/15/2013 11:26 AM, Lars-Peter Clausen wrote:
> 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>
next prev parent reply other threads:[~2013-03-15 10:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-15 10:26 [PATCH] SoC: dma-sh7760: Fix compile error Lars-Peter Clausen
2013-03-15 10:44 ` Lars-Peter Clausen [this message]
2013-03-22 11:05 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5142FBA3.8070600@metafoo.de \
--to=lars@metafoo.de \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=lgirdwood@gmail.com \
--cc=manuel.lauss@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.