Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1502096

[PATCH -next] ASoC: rk3399_gru_sound: Fix non static symbol warning

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Wei Yongjun <weiyj.lk@gmail.com>
Newsgroups linux.kernel
Subject [PATCH -next] ASoC: rk3399_gru_sound: Fix non static symbol warning
Date Mon, 17 Oct 2016 17:20:02 +0200
Message-ID <sthRM-59n-19@gated-at.bofh.it> (permalink)
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6QCGk90XDLsZaoCNeMoKGb6cWOzzJnWTK8FDpIFi7N0=; b=WkI8D0QG2o0LH5zPZH5Z3tVYtVXbBeuMxThhTeMItPQoIyIeBlJonQSheYMaYUClvz i9uPsYx1kJRQVuboAk9ptn6HuV64Xs2kj4LV5oXNb10IMj76Y/h8hSoUac+aMLyJaZcN LL64eM3A8Jq78WykYUpa67jtVurSGgdGpF8riftyi18wcLx6nt+H/QC47fBvb7SIw4/Z U4wQNydZckct/odTJI+zal/KYWZGIxfViQOiFxZvc3Zr+UeVwt59w5jsTgiS/BxQL1vh etiwHfJ8w6f0suuzbqon1EaotV6EloYxgFKxfZQHNXJannWz6Vu9WyTbKRM9PvVz0SZ2 PWRw==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6QCGk90XDLsZaoCNeMoKGb6cWOzzJnWTK8FDpIFi7N0=; b=WtPmgx1S/ZvSAMrNB1/aS3SKCWYW43RE5f7zKs6URjdd6HlawDn6QBUgf+kYXJvjLl e2uupXKmDcuP4RofAOWPtlY9w7ZN3AdUcfCwzi6mvImUq84KZpsMxYAstDDJVD7DPBvb oefKyImRFwUaeF1gFL8GoxNyV2K2xDRXz55khKtJTD0/yZHvyoFARlGQFOCjZoZaV0mb 8ujys/b/JOBfldEj27ZoW3KLXkhOSB0eIQ6YToTY1bpdoGkNs3ayiY03LLfbGuSFgzBo vY1z6g32zUsff/oVUoOiw4PaL0br7qR42u0v+8iF/bb2vn/dbOqxvaGmRWH0pcEipuix mf3w==
X-Gm-Message-State AA6/9RlTSkvCF4PKcQj9XDuhA+VGXzma2qZJbBK8qJv3KnxA0BcDNgpnPrxvCQeh390dWw==
X-Received by 10.67.21.169 with SMTP id hl9mr32051404pad.185.1476717326877; Mon, 17 Oct 2016 08:15:26 -0700 (PDT)
X-Mailer git-send-email 2.7.4
MIME-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 24
Organization linux.* mail to news gateway
X-Original-Cc Wei Yongjun <weiyongjun1@huawei.com>, alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org
X-Original-Date Mon, 17 Oct 2016 15:15:18 +0000
X-Original-Message-ID <1476717318-12684-1-git-send-email-weiyj.lk@gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1502096

Show key headers only | View raw


From: Wei Yongjun <weiyongjun1@huawei.com>

Fixes the following sparse warning:

sound/soc/rockchip/rk3399_gru_sound.c:41:14: warning:
 symbol 'rt5514_dmic_delay' was not declared. Should it be static?

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
---
 sound/soc/rockchip/rk3399_gru_sound.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/rockchip/rk3399_gru_sound.c b/sound/soc/rockchip/rk3399_gru_sound.c
index 9ed735a..0cbd235 100644
--- a/sound/soc/rockchip/rk3399_gru_sound.c
+++ b/sound/soc/rockchip/rk3399_gru_sound.c
@@ -38,7 +38,7 @@
 
 #define SOUND_FS	256
 
-unsigned int rt5514_dmic_delay;
+static unsigned int rt5514_dmic_delay;
 
 static struct snd_soc_jack rockchip_sound_jack;

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH -next] ASoC: rk3399_gru_sound: Fix non static symbol warning Wei Yongjun <weiyj.lk@gmail.com> - 2016-10-17 17:20 +0200
  Applied "ASoC: rk3399_gru_sound: Fix non static symbol warning" to the asoc tree Mark Brown <broonie@kernel.org> - 2016-10-24 20:10 +0200

csiph-web