diff options
author | Vaibhav Agarwal <vaibhav.agarwal@linaro.org> | 2016-01-13 14:07:49 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-01-13 16:15:57 -0800 |
commit | 7885342cc2727e2e9acae1597ebc88bedfea8464 (patch) | |
tree | 155675ad6f6d03703d0d26db15c6a63d5fb42e67 /drivers/staging/greybus/audio_codec.c | |
parent | 8db00736d365b75d6af5dfd4a2673a1453fff4b7 (diff) | |
download | op-kernel-dev-7885342cc2727e2e9acae1597ebc88bedfea8464.zip op-kernel-dev-7885342cc2727e2e9acae1597ebc88bedfea8464.tar.gz |
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>
Diffstat (limited to 'drivers/staging/greybus/audio_codec.c')
-rw-r--r-- | drivers/staging/greybus/audio_codec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/audio_codec.c b/drivers/staging/greybus/audio_codec.c index 2bc2309..826604a 100644 --- a/drivers/staging/greybus/audio_codec.c +++ b/drivers/staging/greybus/audio_codec.c @@ -7,7 +7,7 @@ */ #include <linux/module.h> -#include "audio.h" +#include "audio_codec.h" static int gbcodec_event_spk(struct snd_soc_dapm_widget *w, struct snd_kcontrol *k, int event) |