From patchwork Thu Mar 6 08:19:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 25781 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f198.google.com (mail-qc0-f198.google.com [209.85.216.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2E4FC203C3 for ; Thu, 6 Mar 2014 08:32:55 +0000 (UTC) Received: by mail-qc0-f198.google.com with SMTP id r5sf5456215qcx.9 for ; Thu, 06 Mar 2014 00:32:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:cc:subject:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list:content-type :content-transfer-encoding; bh=hOCQ5lcmydfqSOvrVVX+a4YGOeEqFP++HeMc+P//8OA=; b=lbevuW3aQjMZ0/qn143OvRQtIGQgiEj0d8QnRf6Q0UIAGpsMHm9EMhkV1vYZlTiAbz Zv/vegxIR56ubE/FlbstDXOaf1m29GFgeJe662peycAaB2rl/WoBfwogaUj/MmRkO+8I Pnm6zOo3ZVXupH6Kg8n2o05wOkC9dMYyA1FsEvmhj3fvgBaOxOb4jrfC159h59RWiFJx qtCeVwc6XlZXSzSnZ41Zfds+EFaelAoTF2X3/EHDlGeVchH34CuWg72ooSl5OxoGV27X xNc53aZzpJgWgT8x3zJnKFFUwOaKeIfO7j643xcqq70Ckyy8ecauMokkwMUjocTe+sG+ 5oyg== X-Gm-Message-State: ALoCoQlZV44p/RuoOzVgYC/MG+LnucUfacOZi23CxnqnbPNIArRK+8DOa2Xrfus/MQVm9xUnptHe X-Received: by 10.236.89.15 with SMTP id b15mr4417049yhf.13.1394094775699; Thu, 06 Mar 2014 00:32:55 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.107.228 with SMTP id h91ls623919qgf.76.gmail; Thu, 06 Mar 2014 00:32:55 -0800 (PST) X-Received: by 10.221.20.199 with SMTP id qp7mr4051289vcb.24.1394094775516; Thu, 06 Mar 2014 00:32:55 -0800 (PST) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id nc1si935149vec.138.2014.03.06.00.32.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Mar 2014 00:32:55 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id lg15so2210123vcb.26 for ; Thu, 06 Mar 2014 00:32:55 -0800 (PST) X-Received: by 10.52.241.106 with SMTP id wh10mr7091143vdc.16.1394094775317; Thu, 06 Mar 2014 00:32:55 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.78.9 with SMTP id i9csp22400vck; Thu, 6 Mar 2014 00:32:53 -0800 (PST) X-Received: by 10.15.49.65 with SMTP id i41mr7729001eew.87.1394094773048; Thu, 06 Mar 2014 00:32:53 -0800 (PST) Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id 46si8431486eem.130.2014.03.06.00.32.52 for ; Thu, 06 Mar 2014 00:32:53 -0800 (PST) Received-SPF: neutral (google.com: 77.48.224.243 is neither permitted nor denied by best guess record for domain of alsa-devel-bounces@alsa-project.org) client-ip=77.48.224.243; Received: by alsa0.perex.cz (Postfix, from userid 1000) id 22999265900; Thu, 6 Mar 2014 09:32:52 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.2.4 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id C5E342658D0; Thu, 6 Mar 2014 09:32:42 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 3B43D2658D2; Thu, 6 Mar 2014 09:32:41 +0100 (CET) Received: from mezzanine.sirena.org.uk (mezzanine.sirena.org.uk [106.187.55.193]) by alsa0.perex.cz (Postfix) with ESMTP id 731122658BA for ; Thu, 6 Mar 2014 09:32:32 +0100 (CET) Received: from z88l218.static.ctm.net ([202.175.88.218] helo=finisterre) by mezzanine.sirena.org.uk with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1WLTjA-0003Nu-VE; Thu, 06 Mar 2014 08:32:30 +0000 Received: from broonie by finisterre with local (Exim 4.82) (envelope-from ) id 1WLTWw-0006fs-1q; Thu, 06 Mar 2014 16:19:50 +0800 From: Mark Brown To: Liam Girdwood Date: Thu, 6 Mar 2014 16:19:39 +0800 Message-Id: <1394093979-25623-1-git-send-email-broonie@kernel.org> X-Mailer: git-send-email 1.9.0 X-SA-Exim-Connect-IP: 202.175.88.218 X-SA-Exim-Mail-From: broonie@sirena.org.uk X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Cc: alsa-devel@alsa-project.org, linaro-kernel@lists.linaro.org, Mark Brown Subject: [alsa-devel] [PATCH] ASoC: dapm: Staticise dapm_mark_dirty() X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: broonie@kernel.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Mark Brown The function is not called outside soc-dapm.c so there is no need for it to be exported. Signed-off-by: Mark Brown --- include/sound/soc-dapm.h | 1 - sound/soc/soc-dapm.c | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h index 04d32d8..ef78f56 100644 --- a/include/sound/soc-dapm.h +++ b/include/sound/soc-dapm.h @@ -449,7 +449,6 @@ int snd_soc_dapm_ignore_suspend(struct snd_soc_dapm_context *dapm, void snd_soc_dapm_auto_nc_codec_pins(struct snd_soc_codec *codec); /* Mostly internal - should not normally be used */ -void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason); void dapm_mark_io_dirty(struct snd_soc_dapm_context *dapm); /* dapm path query */ diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 0d8ba30..3728e21 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c @@ -142,7 +142,7 @@ static bool dapm_dirty_widget(struct snd_soc_dapm_widget *w) return !list_empty(&w->dirty); } -void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason) +static void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason) { if (!dapm_dirty_widget(w)) { dev_vdbg(w->dapm->dev, "Marking %s dirty due to %s\n", @@ -150,7 +150,6 @@ void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason) list_add_tail(&w->dirty, &w->dapm->card->dapm_dirty); } } -EXPORT_SYMBOL_GPL(dapm_mark_dirty); void dapm_mark_io_dirty(struct snd_soc_dapm_context *dapm) {