greybus: audio: Build audio module conditionally
authorVaibhav Agarwal <vaibhav.agarwal@linaro.org>
Wed, 13 Jan 2016 21:07:49 +0000 (14:07 -0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 14 Jan 2016 00:15:57 +0000 (16:15 -0800)
commit7885342cc2727e2e9acae1597ebc88bedfea8464
tree155675ad6f6d03703d0d26db15c6a63d5fb42e67
parent8db00736d365b75d6af5dfd4a2673a1453fff4b7
greybus: audio: Build audio module conditionally

Added CONFIG_XXX flag check before compiling audio module.
Once we add dynamic DAI link registration from audio driver,
this check wil be required to avoid compilation failures with
other kernel revisions.

Also, renamed header file to better align with .c file name.

Signed-off-by: Vaibhav Agarwal <vaibhav.agarwal@linaro.org>
Signed-off-by: Mark Greer <mgreer@animalcreek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/Makefile
drivers/staging/greybus/audio.h [deleted file]
drivers/staging/greybus/audio_codec.c
drivers/staging/greybus/audio_codec.h [new file with mode: 0644]