From mboxrd@z Thu Jan 1 00:00:00 1970 From: Srinivas Kandagatla Subject: Re: [PATCH 2/6] ASoC: lpass-ipq806x: Staticise local symbols Date: Tue, 28 Jul 2015 13:01:54 +0100 Message-ID: <55B76F32.40202@linaro.org> References: <1437987388-9706-1-git-send-email-lars@metafoo.de> <1437987388-9706-3-git-send-email-lars@metafoo.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by alsa0.perex.cz (Postfix) with ESMTP id 184F826052B for ; Tue, 28 Jul 2015 14:02:00 +0200 (CEST) Received: by wibud3 with SMTP id ud3so156004438wib.0 for ; Tue, 28 Jul 2015 05:01:59 -0700 (PDT) In-Reply-To: <1437987388-9706-3-git-send-email-lars@metafoo.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Lars-Peter Clausen , Mark Brown , Liam Girdwood Cc: alsa-devel@alsa-project.org, Banajit Goswami , Kuninori Morimoto , Patrick Lai , patches@opensource.wolfsonmicro.com, Arnaud Pouliquen , Max Filippov , Charles Keepax List-Id: alsa-devel@alsa-project.org On 27/07/15 09:56, Lars-Peter Clausen wrote: > ipq806x_data is not used outside this file, so it can be static. > Fixes the following sparse warning: > > sound/soc/qcom/lpass-ipq806x.c:76:22: warning: symbol 'ipq806x_data' > was not declared. Should it be static? > > Signed-off-by: Lars-Peter Clausen > --- > sound/soc/qcom/lpass-ipq806x.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/sound/soc/qcom/lpass-ipq806x.c b/sound/soc/qcom/lpass-ipq806x.c > index 7356d3a..7a41679 100644 > --- a/sound/soc/qcom/lpass-ipq806x.c > +++ b/sound/soc/qcom/lpass-ipq806x.c > @@ -73,7 +73,7 @@ static int ipq806x_lpass_free_dma_channel(struct lpass_data *drvdata, int chan) > return 0; > } > > -struct lpass_variant ipq806x_data = { > +static struct lpass_variant ipq806x_data = { > .i2sctrl_reg_base = 0x0010, > .i2sctrl_reg_stride = 0x04, > .i2s_ports = 5, > Thanks Lars for the patch, Looks good to me. Acked-by: Srinivas Kandagatla --srini