From patchwork Thu Mar 13 17:48:20 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 26210 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f69.google.com (mail-pb0-f69.google.com [209.85.160.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 29E74206A0 for ; Thu, 13 Mar 2014 17:48:56 +0000 (UTC) Received: by mail-pb0-f69.google.com with SMTP id md12sf3125716pbc.4 for ; Thu, 13 Mar 2014 10:48:55 -0700 (PDT) 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=QIWWUSUtwqMKVk7W72LhUY/dxsnb9NpXeQ1d11q2iFQ=; b=PY9XLUbWN0Go3liYUksmVvVBFkxe1CjLYRLBLAtNkvufRbyjncqrJDuLA1FioHRQbf MV8lzNJZAm+1dj+KcNMbfYjX+t4R0YhFKqqLoAzQrXa7L0kSy9CXhh7NH2X9LT7uwlm4 JTnLh59clHaPrY9CGUZuofw31gdu/ktw/qtIZ2mjHmMVKFuNM8IEBVuiE40WjSmk4JHk 9yRohXs1Le/ktEuWJaRHb85OINEH/0s5iWBYTC8CMLnTP2zB2P6GVmF5G2Pe9Hl5BX1/ qjGPSN+yI3OlgqdqaEcTO78hfLl6s4hT92Zs71HK291lHGJo2X4FcJfxX56TPUkJVchv Q8XQ== X-Gm-Message-State: ALoCoQnbEq87dovDyddFLixzH2oAz1FdA1D7XA+STSwl+rB5oScuW9G4zngMmxk8bIk2erjuBdcb X-Received: by 10.66.253.9 with SMTP id zw9mr1343538pac.38.1394732935365; Thu, 13 Mar 2014 10:48:55 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.93.194 with SMTP id d60ls407674qge.22.gmail; Thu, 13 Mar 2014 10:48:55 -0700 (PDT) X-Received: by 10.52.12.36 with SMTP id v4mr2087905vdb.20.1394732935203; Thu, 13 Mar 2014 10:48:55 -0700 (PDT) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by mx.google.com with ESMTPS id eh16si1075826vcb.18.2014.03.13.10.48.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Mar 2014 10:48:55 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.175; Received: by mail-ve0-f175.google.com with SMTP id oz11so1480261veb.34 for ; Thu, 13 Mar 2014 10:48:55 -0700 (PDT) X-Received: by 10.220.95.139 with SMTP id d11mr2471406vcn.21.1394732934997; Thu, 13 Mar 2014 10:48:54 -0700 (PDT) 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 i9csp394663vck; Thu, 13 Mar 2014 10:48:54 -0700 (PDT) X-Received: by 10.14.216.3 with SMTP id f3mr3676670eep.66.1394732933986; Thu, 13 Mar 2014 10:48:53 -0700 (PDT) Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id w48si6084095een.77.2014.03.13.10.48.53 for ; Thu, 13 Mar 2014 10:48:53 -0700 (PDT) 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 D5271265465; Thu, 13 Mar 2014 18:48: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 2B96126545A; Thu, 13 Mar 2014 18:48:43 +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 4A48126545B; Thu, 13 Mar 2014 18:48: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 383A7265373 for ; Thu, 13 Mar 2014 18:48:34 +0100 (CET) Received: from cpc11-sgyl31-2-0-cust672.sgyl.cable.virginm.net ([94.175.94.161] helo=debutante.sirena.org.uk) by mezzanine.sirena.org.uk with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1WO9k0-0005j8-25; Thu, 13 Mar 2014 17:48:25 +0000 Received: from broonie by debutante.sirena.org.uk with local (Exim 4.82) (envelope-from ) id 1WO9jw-0004Tj-PB; Thu, 13 Mar 2014 17:48:20 +0000 From: Mark Brown To: Jyri Sarha , Liam Girdwood Date: Thu, 13 Mar 2014 17:48:20 +0000 Message-Id: <1394732900-17182-1-git-send-email-broonie@kernel.org> X-Mailer: git-send-email 1.9.0 X-SA-Exim-Connect-IP: 94.175.94.161 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: tlv320aic31xx: Staticise non-exported symbols 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.128.175 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 Signed-off-by: Mark Brown Acked-by: Jyri Sarha --- sound/soc/codecs/tlv320aic31xx.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sound/soc/codecs/tlv320aic31xx.c b/sound/soc/codecs/tlv320aic31xx.c index dcdc5751048f..d3517a919776 100644 --- a/sound/soc/codecs/tlv320aic31xx.c +++ b/sound/soc/codecs/tlv320aic31xx.c @@ -129,7 +129,7 @@ static const struct regmap_range_cfg aic31xx_ranges[] = { }, }; -struct regmap_config aic31xx_i2c_regmap = { +static const struct regmap_config aic31xx_i2c_regmap = { .reg_bits = 8, .val_bits = 8, .writeable_reg = aic31xx_writeable, @@ -321,9 +321,9 @@ static const struct snd_kcontrol_new ldac_in_control = static const struct snd_kcontrol_new rdac_in_control = SOC_DAPM_ENUM("DAC Right Input", rdac_in_enum); -int aic31xx_wait_bits(struct aic31xx_priv *aic31xx, unsigned int reg, - unsigned int mask, unsigned int wbits, int sleep, - int count) +static int aic31xx_wait_bits(struct aic31xx_priv *aic31xx, unsigned int reg, + unsigned int mask, unsigned int wbits, int sleep, + int count) { unsigned int bits; int counter = count; @@ -1177,7 +1177,7 @@ static void aic31xx_pdata_from_of(struct aic31xx_priv *aic31xx) } #endif /* CONFIG_OF */ -void aic31xx_device_init(struct aic31xx_priv *aic31xx) +static void aic31xx_device_init(struct aic31xx_priv *aic31xx) { int ret, i;