lkml.org 
[lkml]   [2011]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] ASoC: bf5xx-ad73311: Fix prototype for bf5xx_probe
From
Date
On Thu, 2011-09-15 at 11:04 +0800, Axel Lin wrote:
> 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>
> ---
> sound/soc/blackfin/bf5xx-ad73311.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/sound/soc/blackfin/bf5xx-ad73311.c b/sound/soc/blackfin/bf5xx-ad73311.c
> index 732a247..b94eb7e 100644
> --- 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")) {

Acked-by: Liam Girdwood <lrg@ti.com>



\
 
 \ /
  Last update: 2011-09-15 20:09    [W:2.332 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site