ASoC: AMD: Fix incorrect extern
authorAndi Kleen <ak@linux.intel.com>
Thu, 21 Mar 2019 22:00:05 +0000 (15:00 -0700)
committerMark Brown <broonie@kernel.org>
Mon, 25 Mar 2019 12:09:51 +0000 (12:09 +0000)
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>
sound/soc/amd/acp-da7219-max98357a.c

index f37a588ba3453eda190ee33e07f63801382da6ba..8a619a75b3a9473de18ad48e95ea34fe2f7eadb3 100644 (file)
@@ -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)
 {