Message ID | 20171010092052.2551973-2-arnd@arndb.de |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp3530417qgn; Tue, 10 Oct 2017 02:22:38 -0700 (PDT) X-Google-Smtp-Source: AOwi7QAV0u4sZZ5tMfee8wVOfUPLQ05xCg5SYJP/hQMb1w5VpWuFqa3vq1Ti3HheagarD97DG4Xs X-Received: by 10.84.192.37 with SMTP id b34mr11329867pld.279.1507627358884; Tue, 10 Oct 2017 02:22:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507627358; cv=none; d=google.com; s=arc-20160816; b=MD0eqNHIOObY3CSvJFKw746MRjyeSVsC9XpMfJwHptP1yXqxpHJYx+qTSMHRZpSsab sucIQD+Rlphrhv9Ls9OMFqI9xYI4TYqFl3oltVszpSpYsj/turnDlDwf9/8i9x5XOXFz SCTWOl5T5IDj5iJkEN2+Y9yI8E9NI+3MG14jT5ETgHoOQyBFcGul/k0aKc6Y9CSrKtd5 G9u2RPEIxeSnQlWb0jz05TWVfvy7FgJpvqIiiEc/yUAScp4WTsb3lDx9ISjNTevy1+Nx p8H7Qho/aepTV/d6lgQKN/CMZjrH0fhEDcDG+xuYc6a9h9MaOHO/v7OSsaEPY1w/9uDJ ShGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=T4cDl9RyFVEwhqLlMz0q4LQwhpzPSFSycE8Fe/FtaHw=; b=qI2R4dE+ZfSMdSMkyyBH8FLnkTiSNHuEel+0/Jm7X7hic+CCnAkgMKsZsx+TnSEzVP MM+GOKd/pdMigV8I3gNagpDQEAfiyGN3+4FdomGjsawPXTS8kxgY/kD5yOc7RFexNaI/ EBSpO9jpQSNvuZ6I7xfJnT1gWtLFx/IfVc/5BJ5i7CNVp5aAMbCnEaRhROsbAOodZnyj ZGUktERU0HEBIr8kTtyxD4Mp03YkvV3MDjZIrxCRveMe6ExTX3cUtg/8sdN88HelmY02 c33gEP5ruoYydhTZVsXI+HMZ3Asy1Eswp5irVRyhtbhBJekwojtp4OI1huv76FGy6bkH 48tA== 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: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x7si8196050pln.187.2017.10.10.02.22.38; Tue, 10 Oct 2017 02:22:38 -0700 (PDT) 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 S1755934AbdJJJWh (ORCPT <rfc822;daniel.diaz@linaro.org> + 26 others); Tue, 10 Oct 2017 05:22:37 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:57586 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755134AbdJJJWf (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 10 Oct 2017 05:22:35 -0400 Received: from wuerfel.lan ([95.208.190.237]) by mrelayeu.kundenserver.de (mreue101 [212.227.15.145]) with ESMTPA (Nemesis) id 0MCZWc-1eBEex0Lv0-009NGN; Tue, 10 Oct 2017 11:21:13 +0200 From: Arnd Bergmann <arnd@arndb.de> To: Mark Brown <broonie@kernel.org> Cc: Arnd Bergmann <arnd@arndb.de>, Liam Girdwood <lgirdwood@gmail.com>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>, Charles Keepax <ckeepax@opensource.cirrus.com>, anish kumar <yesanishhere@gmail.com>, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] ASoC: dapm: mark 'snd_soc_dapm_free_kcontrol' as static Date: Tue, 10 Oct 2017 11:20:11 +0200 Message-Id: <20171010092052.2551973-2-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20171010092052.2551973-1-arnd@arndb.de> References: <20171010092052.2551973-1-arnd@arndb.de> X-Provags-ID: V03:K0:WZVxaXepbSjhvlfHoye5xdVeXswQCbKas37ASQFLPjreZvVh1vF HHjscZ5WUfIdKOhT9cBEd3bpQ9iLFPxdoxFROAlsEjrl5Ar+C9TmNT1IH2S+cvbafVX0P2c yg+x716pnaaOULXiVIP+g/9il4+uxTAQs2z2Bw5dFbLj8WI6O9uJfLD4eF5C1fUsdGTW95J X29XYgMWCwCmXJmLm6d1w== X-UI-Out-Filterresults: notjunk:1; V01:K0:QijGVZK9rzM=:nh5r+yPokJkcCPd+s7LcTd W+sq7IdeU2McuE+tycb3BX2KmdBDwticB+fzOfU+LoU+iZxw0bhK7f5go9xPBfPArttGV2sUB G+K+yLKpUV9uT3WdD8vhQUHmtgjpOntAxiT1fLxQSPj3jRD7E7zhqJMc9UjbDMxd7dgbLRPdI bpmgwae+wHUBbiyiEdUWP26WsCtNTM4iYXj8J1U+47BBqyNiD8aToPkfSURodUT2a8Yulthmo qRHf0uAQfq8gzmPH5GAGLA+lI6EcbMdogNPSftEBAbpuCkVh/njbZ4z8eaTCsU3Z4YR7ldXca aTO4gLy3kXr8h2AbgD25VVlt10RMMOkLY4fwJ0527MxvnY9gdoAGvFjoQhqmY2CoTHG4Owlse mz63gBvMZ7V9b18GsdzBksSsLUOjnTf9fKDizBGOPp12yCRoDsLtuR39NH3SQGW11Ig0QbgVp mHfAYCmh5DBwRF0BhDxK4O5vmIdVXwh38SaPl0KZy3LBjjrRM6x+y3h/AVyZt/DF45wI3xyM3 VgMAC6fg9d/aHo0qpZJx2G//KAX68/U61/43S9Ah1BrzGtSBRPYWrH/Q5yAo0A9OlB9et79/V pJ17oHKiczC/k4QYyARHe45XfYVAw9z77WkXjpc4Zn7TLmKD+7cKOBszyi6s8tgJzge0mD2YN 1nOiQ4Gq+b6mb5R0Ftx8NNGMFzkDl7EHZFpvoJNlBnH4+zJxYyRIK6fXXWCVxNayL/uwCTCVZ fqDRXatY8oIzKzz8EM27OFW7ybayRzFqdR9HRA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 19babdae1a06..a10b21cfc31e 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c @@ -3778,7 +3778,7 @@ static int snd_soc_dapm_dai_link_put(struct snd_kcontrol *kcontrol, return 0; } -void +static void snd_soc_dapm_free_kcontrol(struct snd_soc_card *card, unsigned long *private_value, int num_params,
The newly introduced function is declared as globally visible, but is not declared in a header, causing a warning 'make W=1' or 'make C=1': sound/soc/soc-dapm.c:3782:1: warning: symbol 'snd_soc_dapm_free_kcontrol' was not declared. Should it be static? The suggestion to make it static seems appropriate here, so let's do that. Fixes: 19ad683abc85 ("ASoC: dapm: Avoid creating kcontrol for params") Signed-off-by: Arnd Bergmann <arnd@arndb.de> --- sound/soc/soc-dapm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.0