summaryrefslogtreecommitdiffstats
path: root/sound/soc/amd
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2019-03-21 15:00:05 -0700
committerMark Brown <broonie@kernel.org>2019-03-25 12:09:51 +0000
commiteddb6084305e5418ce28b8379a6c3d0058a61463 (patch)
tree47cb1bb74e0b4a2bc1ffe9c5d1990d3fce1475ab /sound/soc/amd
parent3a9ce0f1b2961f6c3ad2a49dcf85449784c18bb5 (diff)
downloadlinux-eddb6084305e5418ce28b8379a6c3d0058a61463.tar.bz2
ASoC: AMD: Fix incorrect extern
When using bare externs outside include files that types should at least match. This fixes a type confusion between bool and int. Cc: broonie@kernel.org Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd')
-rw-r--r--sound/soc/amd/acp-da7219-max98357a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/amd/acp-da7219-max98357a.c b/sound/soc/amd/acp-da7219-max98357a.c
index f37a588ba345..8a619a75b3a9 100644
--- a/sound/soc/amd/acp-da7219-max98357a.c
+++ b/sound/soc/amd/acp-da7219-max98357a.c
@@ -47,7 +47,7 @@
static struct snd_soc_jack cz_jack;
static struct clk *da7219_dai_clk;
-extern int bt_uart_enable;
+extern bool bt_uart_enable;
static int cz_da7219_init(struct snd_soc_pcm_runtime *rtd)
{