projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5013951
)
ASoC: bf5xx-ad73311: Fix prototype for bf5xx_probe
author
Axel Lin
<axel.lin@gmail.com>
Thu, 15 Sep 2011 03:04:56 +0000
(11:04 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Thu, 15 Sep 2011 23:50:16 +0000
(
00:50
+0100)
Fix below build warning:
sound/soc/blackfin/bf5xx-ad73311.c: warning: initialization from incompatible pointer type
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/blackfin/bf5xx-ad73311.c
patch
|
blob
|
history
diff --git
a/sound/soc/blackfin/bf5xx-ad73311.c
b/sound/soc/blackfin/bf5xx-ad73311.c
index
732a247
..
b94eb7e
100644
(file)
--- a/
sound/soc/blackfin/bf5xx-ad73311.c
+++ b/
sound/soc/blackfin/bf5xx-ad73311.c
@@
-128,7
+128,7
@@
static int snd_ad73311_configure(void)
return 0;
}
-static int bf5xx_probe(struct
platform_device *pdev
)
+static int bf5xx_probe(struct
snd_soc_card *card
)
{
int err;
if (gpio_request(GPIO_SE, "AD73311_SE")) {