asoc.h: fix build with v3.17 kernel
The snd_soc_codec structure has changed in the v3.17 kernel. Some
of the redundant fields have been removed. To be specific this commit
from the v3.17 kernel causes the build failure for lttng-modules.
|commit
f4333203ec933f9272c90c7add01774ec2cf94d3
|Author: Lars-Peter Clausen <lars@metafoo.de>
|Date: Mon Jun 16 18:13:02 2014 +0200
|
| ASoC: Move name and id from CODEC/platform to component
|
| The component struct already has a name and id field which are initialized to
| the same values as the same fields in the CODEC and platform structs. So remove
| them from the CODEC and platform structs and used the ones from the component
| struct instead.
|
| Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
| Signed-off-by: Mark Brown <broonie@linaro.org>
The asoc.h is changed according to the change in the above kernel commit
to fix the lttng-modules build. The change in the lttng-modules code is
conditional on the kernel version, so that it does not break builds with
previous kernel versions.
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>