asoc.h: fix build with v3.17 kernel
authorNitin A Kamble <nitin.a.kamble@intel.com>
Fri, 26 Sep 2014 01:19:43 +0000 (18:19 -0700)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 20 Oct 2014 18:53:32 +0000 (14:53 -0400)
commit52ca9912bf27d5449350735f8a0e40ffb06f2c3e
tree2e4cb876e5da7c7ec0c1d3ad0eb2d9a84c8423ea
parent8025c7c7328e567436705d971d1f742170aedcd8
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>
instrumentation/events/lttng-module/asoc.h
This page took 0.025961 seconds and 4 git commands to generate.