From patchwork Fri Jul 8 13:47:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: weiyj_lk@163.com X-Patchwork-Id: 9220973 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 A1CB66044F for ; Fri, 8 Jul 2016 13:47:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 93323287D8 for ; Fri, 8 Jul 2016 13:47:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8649A287DB; Fri, 8 Jul 2016 13:47:43 +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_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 29BB1287D8 for ; Fri, 8 Jul 2016 13:47:42 +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 1bLW86-0006Cq-4T; Fri, 08 Jul 2016 13:47:42 +0000 Received: from m12-15.163.com ([220.181.12.15]) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bLW7w-00062L-RP; Fri, 08 Jul 2016 13:47:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=wv6Ly 2nT+z/WzRg6fWoPmjWrT5/mNd5n0+CmYh+905A=; b=Di3YV5RKCV5w8CqOowt02 iYF7MAo+2FxyXhwI2P0ryckO+AtW8BoCVhy1Nvc11j/dytv220nDfoPv1LRJgwzp DnNIgx8RfIljTVpWvWCHdk2RPdZ1rPE/lT2ylmKr4oumQ29XNU4hURHCBM9r9YT0 68fdlC7DCHAO2ZakpLb3Qg= Received: from localhost.localdomain.localdomain (unknown [49.77.231.212]) by smtp11 (Coremail) with SMTP id D8CowABHyeTVrn9Xanu8Cg--.52565S2; Fri, 08 Jul 2016 21:47:02 +0800 (CST) From: weiyj_lk@163.com To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Matthias Brugger Subject: [PATCH -next v2] ASoC: mediatek: mt2701: fix non static symbol warning Date: Fri, 8 Jul 2016 13:47:01 +0000 Message-Id: <1467985621-13755-1-git-send-email-weiyj_lk@163.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1467985293-9041-1-git-send-email-weiyj_lk@163.com> References: <1467985293-9041-1-git-send-email-weiyj_lk@163.com> MIME-Version: 1.0 X-CM-TRANSID: D8CowABHyeTVrn9Xanu8Cg--.52565S2 X-Coremail-Antispam: 1Uf129KBjvdXoW7WryUGw4rAF17Kw4xZFyrWFg_yoWfKwc_u3 yDuw43Wa45JFnak343ur1jkF1fXFW7CFW8Zr90kr45ZrZ8WF1akFn0vw17ur4DZrs7uw1r ZrnFqw1xXr43XjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUeaQ6tUUUUU== X-Originating-IP: [49.77.231.212] X-CM-SenderInfo: pzhl5yxbonqiywtou0bp/1tbiJRag1lUMAquOHgAAsl X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160708_064733_223606_EABD213D X-CRM114-Status: UNSURE ( 7.94 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Wei Yongjun , linux-mediatek@lists.infradead.org, alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Wei Yongjun Fixes the following sparse warning: sound/soc/mediatek/mt2701/mt2701-afe-pcm.c:72:5: warning: symbol 'mt2701_dai_num_to_i2s' was not declared. Should it be static? Signed-off-by: Wei Yongjun Acked-by: Garlic Tseng --- sound/soc/mediatek/mt2701/mt2701-afe-pcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c b/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c index 15522c0..34a6123 100644 --- a/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c +++ b/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c @@ -69,7 +69,7 @@ static const struct mt2701_afe_rate mt2701_afe_i2s_rates[] = { { .rate = 352800, .regvalue = 24 }, }; -int mt2701_dai_num_to_i2s(struct mtk_base_afe *afe, int num) +static int mt2701_dai_num_to_i2s(struct mtk_base_afe *afe, int num) { int val = num - MT2701_IO_I2S;