ASoC: bf5xx-ad73311: Fix prototype for bf5xx_probe
PATCH 1/1 ASoC: bf5xx-ad73311: Fix prototype for bf5xx_probe
Fix below build warning:sound/soc/blackfin/bf5xx-ad73311.c: warning: initialization from incompatible pointer type
Signed-off-by Axel Lin <[email protected]>
--- sound/soc/blackfin/bf5xx-ad73311.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/blackfin/bf5xx-ad73311.c +1 -1
@@ -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" )) {
Signature · 1 line
1.7.4.1
Quoted 13 lines · Axel Lin
Fix below build warning:
sound/soc/blackfin/bf5xx-ad73311.c: warning: initialization from incompatible pointer typeSigned-off-by Axel Lin <[email protected]>--- sound/soc/blackfin/bf5xx-ad73311.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)sound/soc/blackfin/bf5xx-ad73311.c +0
-0
sound/soc/blackfin/bf5xx-ad73311.c static int snd_ad73311_configure(void) · line 134
Quoted 8 lines
sound/soc/blackfin/bf5xx-ad73311.c +1
-1@@ -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" )) {
Acked-by Liam Girdwood <[email protected]>
Mark Brown
AppliedQuoted 2 lines · Axel Lin
Fix below build warning:
sound/soc/blackfin/bf5xx-ad73311.c: warning: initialization from incompatible pointer type
Applied, thanks.