Ticket #150 (closed defect: invalid)
ASoC patch doesn't compile
| Reported by: | laforge@… | Owned by: | graeme@… |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | kernel | Version: | current svn head |
| Severity: | normal | Keywords: | |
| Cc: | buglog@… | Blocked By: | |
| Blocking: | Estimated Completion (week): | ||
| HasPatchForReview: | PatchReviewResult: | ||
| Reproducible: |
Description
when compiling a kernel with
http://opensource.wolfsonmicro.com/~lg/asoc/asoc-v0.13rc1.patch
and neo-backport.patch, I get:
In file included from sound/soc/soc-core.c:39:
include/sound/soc.h:345: error: field ‘delayed_work’ has incomplete type
include/sound/soc.h:440: error: field ‘close_work’ has incomplete type
sound/soc/soc-core.c: In function ‘close_delayed_work’:
sound/soc/soc-core.c:262: warning: type defaults to ‘int’ in declaration of ‘mptr’
sound/soc/soc-core.c:262: warning: initialization from incompatible pointer type
sound/soc/soc-core.c: In function ‘soc_probe’:
sound/soc/soc-core.c:770: warning: implicit declaration of function
‘INIT_DELAYED_WORK’
sound/soc/soc-core.c: In function ‘snd_soc_new_pcms’:
sound/soc/soc-core.c:1071: warning: implicit declaration of function ‘device_create’
sound/soc/soc-core.c:1071: error: ‘sound_class’ undeclared (first use in this
function)
sound/soc/soc-core.c:1071: error: (Each undeclared identifier is reported only once
sound/soc/soc-core.c:1071: error: for each function it appears in.)
sound/soc/soc-core.c:1071: error: ‘struct snd_card’ has no member named ‘parent’
sound/soc/soc-core.c:1072: warning: assignment makes pointer from integer
without a cast
make[2]: * [sound/soc/soc-core.o] Error 1
I'll try to investigate this myself, but am happy for any hint you might be able
to give

has long been fixed.