summaryrefslogtreecommitdiffstats
path: root/sound/soc/amd
diff options
context:
space:
mode:
authorAndi Kleen2019-03-21 23:00:05 +0100
committerMark Brown2019-03-25 13:09:51 +0100
commiteddb6084305e5418ce28b8379a6c3d0058a61463 (patch)
tree47cb1bb74e0b4a2bc1ffe9c5d1990d3fce1475ab /sound/soc/amd
parentASoC: nau8810: fix the issue of 64 bits division (diff)
downloadkernel-qcow2-linux-eddb6084305e5418ce28b8379a6c3d0058a61463.tar.gz
kernel-qcow2-linux-eddb6084305e5418ce28b8379a6c3d0058a61463.tar.xz
kernel-qcow2-linux-eddb6084305e5418ce28b8379a6c3d0058a61463.zip
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)
{