From 15ae2999409bcda1ecc3b02275deebf5488efff1 Mon Sep 17 00:00:00 2001 From: Sudheer Papothi Date: Tue, 11 Feb 2020 00:09:53 +0530 Subject: [PATCH] ASoC: lahaina: Fix compilation issue on GKI Fix compilation issue on GKI. Change-Id: Ic577eb8fde1492e71c2d4faf010aa165634ee511 Signed-off-by: Sudheer Papothi --- asoc/lahaina.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/asoc/lahaina.c b/asoc/lahaina.c index b55bef3793..bb51a52f2f 100644 --- a/asoc/lahaina.c +++ b/asoc/lahaina.c @@ -172,10 +172,12 @@ enum { AFE_LOOPBACK_TX_IDX_MAX, }; +#if IS_ENABLED(CONFIG_AUDIO_QGKI) static const char* wsa883x_devices[] = { "wsa883x.202170221", "wsa883x.202170222", }; +#endif /* CONFIG_AUDIO_QGKI */ struct msm_asoc_mach_data { struct snd_info_entry *codec_root;