From patchwork Mon Oct 17 15:15:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yongjun X-Patchwork-Id: 9379603 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A33E560CDC for ; Mon, 17 Oct 2016 15:16:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 939F928854 for ; Mon, 17 Oct 2016 15:16:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 88330289FB; Mon, 17 Oct 2016 15:16:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3102428A0E for ; Mon, 17 Oct 2016 15:16:10 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bw9e4-0005oY-Sl; Mon, 17 Oct 2016 15:16:08 +0000 Received: from mail-pa0-x243.google.com ([2607:f8b0:400e:c03::243]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bw9dj-0005Tt-Qa; Mon, 17 Oct 2016 15:15:48 +0000 Received: by mail-pa0-x243.google.com with SMTP id qn10so9326491pac.2; Mon, 17 Oct 2016 08:15:27 -0700 (PDT) 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=BsJBAOI/+yRuwAZfMFVUd6Ra4lnicGZNRpuyyzOG8ExiPiFRiS96Gyczp+XC+eDblA qdvk4acXaIvcZ50MgYQXrRMDg1kxdy9lwvK3fnw0wEGp8VM3pgvZyLs0bvAzlZVWsoeC MvDqhKUfBnGl0iAsIc1D+KnyNq9bI1+yNSQS2LTho74I7SHJlEjCRlsNS+PX657oyegV 3pAkh6h+UFeCDblFlX4AeJrTTWzYhcZ6Ah0tcX4xjP7vKDz55V6skrtcxcCBi7ZigGf+ TmKxpTvTD1nCSiciv9p8NuqKgsZegv88wvEH4g2CsQ7j4tjgxdjqFpTW0HJMjRw5aoy9 Eq/g== X-Gm-Message-State: AA6/9Rk32Gwxyp06jrL7mP+/TVKzyE4SffRTDhCrIyJmf0Tp9ZmranU0mDD/wH1YfnvHFA== X-Received: by 10.67.21.169 with SMTP id hl9mr32051404pad.185.1476717326877; Mon, 17 Oct 2016 08:15:26 -0700 (PDT) Received: from 192.168.0.37 (ec2-52-192-197-227.ap-northeast-1.compute.amazonaws.com. [52.192.197.227]) by smtp.gmail.com with ESMTPSA id e125sm48951838pfg.11.2016.10.17.08.15.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Oct 2016 08:15:26 -0700 (PDT) From: Wei Yongjun To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Heiko Stuebner Subject: [PATCH -next] ASoC: rk3399_gru_sound: Fix non static symbol warning Date: Mon, 17 Oct 2016 15:15:18 +0000 Message-Id: <1476717318-12684-1-git-send-email-weiyj.lk@gmail.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161017_081548_015000_EB26E7AA X-CRM114-Status: UNSURE ( 8.78 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rockchip@lists.infradead.org, alsa-devel@alsa-project.org, Wei Yongjun , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Wei Yongjun 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 --- 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;