[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1316109954.3333.1.camel@odin>
Date: Thu, 15 Sep 2011 19:05:53 +0100
From: Liam Girdwood <lrg@...com>
To: Axel Lin <axel.lin@...il.com>
Cc: linux-kernel@...r.kernel.org, Cliff Cai <Cliff.Cai@...log.com>,
Mark Brown <broonie@...nsource.wolfsonmicro.com>,
alsa-devel@...a-project.org
Subject: Re: [PATCH] ASoC: bf5xx-ad73311: Fix prototype for bf5xx_probe
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@...il.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@...com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists