OSDN Git Service

greybus: gb-audio: cpu_dai.fmt does not exist in v4.1
authorMark A. Greer <mgreer@animalcreek.com>
Thu, 21 May 2015 22:56:58 +0000 (15:56 -0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Sat, 23 May 2015 23:26:41 +0000 (16:26 -0700)
commit827e27e8fe3cf1ce29343ed87e042075194ac6ca
treea23d8a0d6a3463a141997ba9b775e8ccda70337b
parent4c739e3adad46aded0428144681fdaa6437b9e84
greybus: gb-audio: cpu_dai.fmt does not exist in v4.1

The asoc_simple_dai structure does not contain the 'fmt'
member in Linux kernel version v4.1 and later so only
build code that uses it when the kernel version is earlier
than v4.1.

Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
Acked-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/audio.c