diff options
| author | Arnd Bergmann <[email protected]> | 2020-01-07 22:48:35 +0100 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2020-01-07 22:29:38 +0000 |
| commit | 599b10193c77e4b8a68192b3b277a01e8b467043 (patch) | |
| tree | 906f238f29d790ff3db71db5a95e7045547bd5e3 /tools/perf/scripts/python | |
| parent | 490a625b01775857a9d00c623164e8aa0be762a2 (diff) | |
ASoC: gtm601: fix build warning
The driver produces warnings without CONFIG_OF, and makes
no sense without it either:
sound/soc/codecs/gtm601.c:50:34: error: 'bm818_dai' defined but not used [-Werror=unused-variable]
static struct snd_soc_dai_driver bm818_dai = {
^~~~~~~~~
sound/soc/codecs/gtm601.c:32:34: error: 'gtm601_dai' defined but not used [-Werror=unused-variable]
static struct snd_soc_dai_driver gtm601_dai = {
^~~~~~~~~~
Remove the #ifdef check to avoid the warning.
Fixes: 057a317a8d94 ("ASoC: gtm601: add Broadmobi bm818 sound profile")
Signed-off-by: Arnd Bergmann <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions