OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a9ce0f
)
ASoC: AMD: Fix incorrect extern
author
Andi Kleen
<ak@linux.intel.com>
Thu, 21 Mar 2019 22:00:05 +0000
(15:00 -0700)
committer
Mark 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
patch
|
blob
|
history
diff --git
a/sound/soc/amd/acp-da7219-max98357a.c
b/sound/soc/amd/acp-da7219-max98357a.c
index
f37a588
..
8a619a7
100644
(file)
--- 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)
{