Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp372472imj; Sat, 16 Feb 2019 02:13:41 -0800 (PST) X-Google-Smtp-Source: AHgI3Ibp0XDhl8fLjgq0c7i8qlBdEFD94mS3EeXc8rx6VnXPk4Q1QAwIrt7XQ8nxHB5xG4lSfbzE X-Received: by 2002:a17:902:e087:: with SMTP id cb7mr14814220plb.313.1550312021307; Sat, 16 Feb 2019 02:13:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550312021; cv=none; d=google.com; s=arc-20160816; b=i1t7a/7P1Lp2iO79sHgJxoe8dMZYE9ODCbDC1f+9bGss6jlCswwjQR6MguzjI2DaMC 6URf3MIny5G4qpsMgzWLCak1TlttWduDbYYWvp6SUG9oohdkOnqleubZ05pTjhnN9/zi KJGn45GZQXmsceAJDj09+vmopihVljwJeXJ/UnyOVAT6rGCjMQ0xaV2EXLmUJE19W9jX LB0cGdk2iUD4mLEyxvRH4UJaSVbOVl/tcWoTF+aG24jkNMNVeLNBG6gNPobOBkW+myre a/Y4AQoyXDHri369OvvaoMrePUF/qheGP9+NlVTvexamM12N5ajpQ5EU91CQqwTLagZ5 Iy2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=iMdZgf9rj0fA4pjFSNG1z5fV8XJU6V15+RfGUYHxf8s=; b=trOK6Jfsj5B5Tgwjqfiy1vAhD8tLKt9VOAFAhY5/OB+qXJqbC3Vm38m/N+a6hTSJWo tnpPajI2MBp4vLnD0wlC/Zb87wQPiJxiAys110IWBUlPo2AhkNnAWJzcFyRGH0PfqEco AxgXczHaeaNP0/lOfv8/XBKpXutEN+B48ARuSsLApHIbappntewBsfytIiqw6wKwikTD o472ayfLght4N9d0J7J9jLAW7iA4KlKLzoUUBfG0R9SHD8wV2qXc+LyHK/XU7pJopyDX f3Cbq+R0aeis+S9HO5Y8rWQ07Yz/1oMY+29SpoLl69DYZ4gbfysVPU8+Qs6stMINdKVw LEWA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u26si4702226pfh.113.2019.02.16.02.13.24; Sat, 16 Feb 2019 02:13:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732355AbfBPBWO (ORCPT + 99 others); Fri, 15 Feb 2019 20:22:14 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:57176 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726125AbfBPBWN (ORCPT ); Fri, 15 Feb 2019 20:22:13 -0500 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id D36D0258763844B34DB5; Sat, 16 Feb 2019 09:22:11 +0800 (CST) Received: from localhost.localdomain.localdomain (10.175.113.25) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.408.0; Sat, 16 Feb 2019 09:22:01 +0800 From: Wei Yongjun To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , "Sergej Sawazki" , Charles Keepax CC: Wei Yongjun , , , , Subject: [PATCH -next] ASoC: wm8741: Make function 'wm8741_mute' static Date: Sat, 16 Feb 2019 01:35:56 +0000 Message-ID: <20190216013556.117839-1-weiyongjun1@huawei.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Originating-IP: [10.175.113.25] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following sparse warning: sound/soc/codecs/wm8741.c:371:5: warning: symbol 'wm8741_mute' was not declared. Should it be static? Fixes: 36b1599340b5 ("ASoC: wm8741: Add digital mute callback") Signed-off-by: Wei Yongjun --- sound/soc/codecs/wm8741.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/wm8741.c b/sound/soc/codecs/wm8741.c index a4b8c459ea57..546ea735f534 100644 --- a/sound/soc/codecs/wm8741.c +++ b/sound/soc/codecs/wm8741.c @@ -368,7 +368,7 @@ static int wm8741_set_dai_fmt(struct snd_soc_dai *codec_dai, return 0; } -int wm8741_mute(struct snd_soc_dai *codec_dai, int mute) +static int wm8741_mute(struct snd_soc_dai *codec_dai, int mute) { struct snd_soc_component *component = codec_dai->component;