Skip to content

Commit

Permalink
ASoC: AMD: Fix incorrect extern
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andi Kleen authored and Mark Brown committed Mar 25, 2019
1 parent 3a9ce0f commit eddb608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/amd/acp-da7219-max98357a.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit eddb608

Please sign in to comment.