From patchwork Fri Apr 18 19:02:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 28650 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f69.google.com (mail-qa0-f69.google.com [209.85.216.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4637620548 for ; Fri, 18 Apr 2014 19:03:30 +0000 (UTC) Received: by mail-qa0-f69.google.com with SMTP id w8sf6472977qac.8 for ; Fri, 18 Apr 2014 12:03:30 -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=T7aj6geuYmcsrjF0IwPuIlXOx+3Bq/EhAbq3pn90Iq8=; b=AKa+Zyd97Mdp7o9tUb5fMJc5GfFTeoqKewIr8p7HoaWYksntz59VBvSwKr+cjKyKTG x2atngs/Tj8/7zFosAznam3LBx62f7Rn4l4ZDwoLgxZWGatNQHJnqj9ljSD1K5L6ZDMZ 8q94muvFcwxqOXRTLqs7KRkzT8yTf0DaIyyNXZg8k90LJIMAGRvbp8Oh8+0Ki9M9V3bO OiBpM3ntqvK0Nr6sXW8/oyenI78sYZvD65c8dPIKVXSECbS9EoYzBaBpp0KJ3o7oto8+ AnQsMr1WWYXGEw5W69VN829EbyfZRquSJZ1J7vG9RXSO06Y1BIZpAETAnmaVtaDJn2G8 BibQ== X-Gm-Message-State: ALoCoQkxE7u0gyL4MF0bcyYqcHZ7MQ7YdM3lvmBB6WjoJuDmugZYw27L/LEXrZezhtikld4Q2528 X-Received: by 10.236.173.42 with SMTP id u30mr10923824yhl.2.1397847810663; Fri, 18 Apr 2014 12:03:30 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.51.11 with SMTP id t11ls1589945qga.96.gmail; Fri, 18 Apr 2014 12:03:30 -0700 (PDT) X-Received: by 10.58.171.229 with SMTP id ax5mr15451560vec.24.1397847810545; Fri, 18 Apr 2014 12:03:30 -0700 (PDT) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by mx.google.com with ESMTPS id c6si4619692veo.162.2014.04.18.12.03.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 18 Apr 2014 12:03:30 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.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.128.181; Received: by mail-ve0-f181.google.com with SMTP id oy12so3554267veb.12 for ; Fri, 18 Apr 2014 12:03:30 -0700 (PDT) X-Received: by 10.58.123.71 with SMTP id ly7mr18964086veb.11.1397847810395; Fri, 18 Apr 2014 12:03:30 -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.221.72 with SMTP id ib8csp132171vcb; Fri, 18 Apr 2014 12:03:30 -0700 (PDT) X-Received: by 10.15.82.132 with SMTP id a4mr24279764eez.47.1397847809601; Fri, 18 Apr 2014 12:03:29 -0700 (PDT) Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id d5si41483859eei.208.2014.04.18.12.03.28 for ; Fri, 18 Apr 2014 12:03:29 -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 02D9F265544; Fri, 18 Apr 2014 21:03:22 +0200 (CEST) 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 F154E261987; Fri, 18 Apr 2014 21:03:11 +0200 (CEST) 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 A7A14265132; Fri, 18 Apr 2014 21:03:10 +0200 (CEST) Received: from mezzanine.sirena.org.uk (mezzanine.sirena.org.uk [106.187.55.193]) by alsa0.perex.cz (Postfix) with ESMTP id 727142617AA for ; Fri, 18 Apr 2014 21:03:02 +0200 (CEST) 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:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1WbE3p-0003Ab-NC; Fri, 18 Apr 2014 19:02:58 +0000 Received: from broonie by debutante.sirena.org.uk with local (Exim 4.82) (envelope-from ) id 1WbE3m-0007Wu-ES; Fri, 18 Apr 2014 20:02:50 +0100 From: Mark Brown To: Liam Girdwood , Bard Liao Date: Fri, 18 Apr 2014 20:02:49 +0100 Message-Id: <1397847769-28911-1-git-send-email-broonie@kernel.org> X-Mailer: git-send-email 1.9.2 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: rt5651: 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.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 Make the dai_ops const too since we can. Signed-off-by: Mark Brown --- sound/soc/codecs/rt5651.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/rt5651.c b/sound/soc/codecs/rt5651.c index a1577369c49c..f785b81238ae 100644 --- a/sound/soc/codecs/rt5651.c +++ b/sound/soc/codecs/rt5651.c @@ -1736,14 +1736,14 @@ static int rt5651_resume(struct snd_soc_codec *codec) #define RT5651_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \ SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S8) -struct snd_soc_dai_ops rt5651_aif_dai_ops = { +static const struct snd_soc_dai_ops rt5651_aif_dai_ops = { .hw_params = rt5651_hw_params, .set_fmt = rt5651_set_dai_fmt, .set_sysclk = rt5651_set_dai_sysclk, .set_pll = rt5651_set_dai_pll, }; -struct snd_soc_dai_driver rt5651_dai[] = { +static struct snd_soc_dai_driver rt5651_dai[] = { { .name = "rt5651-aif1", .id = RT5651_AIF1, @@ -1882,7 +1882,7 @@ static int rt5651_i2c_remove(struct i2c_client *i2c) return 0; } -struct i2c_driver rt5651_i2c_driver = { +static struct i2c_driver rt5651_i2c_driver = { .driver = { .name = "rt5651", .owner = THIS_MODULE,