From patchwork Wed Jul 15 05:50:49 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 6791861 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3FC3F9F2E8 for ; Wed, 15 Jul 2015 05:51:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3A14320592 for ; Wed, 15 Jul 2015 05:51:18 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id D54CC20555 for ; Wed, 15 Jul 2015 05:51:16 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 75A63265804; Wed, 15 Jul 2015 07:51:15 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 5CDAC2657E0; Wed, 15 Jul 2015 07:51:07 +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 270E52657EE; Wed, 15 Jul 2015 07:51:06 +0200 (CEST) Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by alsa0.perex.cz (Postfix) with ESMTP id ED3BB2657D2 for ; Wed, 15 Jul 2015 07:50:58 +0200 (CEST) Received: by pachj5 with SMTP id hj5so18003177pac.3 for ; Tue, 14 Jul 2015 22:50:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:subject:from:to:cc:date:content-type :mime-version:content-transfer-encoding; bh=PEjN/YCp6CbqZ7RciGokEuDATCr6rrwKfRdP7PnySEs=; b=YFMwq7KQ55gtOZOeBzpX7afo2hllOD3XaXJXn//D+De9R8ujx3ySsIdsj3vsEeORsb X1MTFunsTbrJAQuY7F0rQXscLWzZtJxIAuOQUEr5KIEyKcLsKWLO0iqkwy4yICXAAY+/ KVFs+egNBR88yr8xh6g/nlww+4zw/FtlW5RAr5rJaZGjkOe/1GaRA3BlWlG8DwNIfQBx GE7BEuB3DtbA3SUWXwmwoVnIzS99I+XD60vmypXt0kh5W0iSqUKJ6L106hpx8x1VNpkj ied/T/6KRePyHe6lDSMlclVSy/H+uD6MMSsDP/80JZAlSROYS5YWGRCDQMeWekf3gDxu gRqw== X-Gm-Message-State: ALoCoQmbCsaL/ceBgEV/cIw5rgScKlGySYsSRp9WcruPBX/Jkk4HMpIFTgOsI1Z1TQUXwzuGehel X-Received: by 10.68.91.197 with SMTP id cg5mr4724970pbb.26.1436939454195; Tue, 14 Jul 2015 22:50:54 -0700 (PDT) Received: from phoenix.local ([163.26.71.6]) by smtp.gmail.com with ESMTPSA id j3sm3198774pdf.76.2015.07.14.22.50.51 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Jul 2015 22:50:53 -0700 (PDT) Message-ID: <1436939449.24267.0.camel@ingics.com> From: Axel Lin To: Mark Brown Date: Wed, 15 Jul 2015 13:50:49 +0800 X-Mailer: Evolution 3.12.10-0ubuntu1~14.10.1 Mime-Version: 1.0 Cc: RongJun Ying , Barry Song , Liam Girdwood , alsa-devel@alsa-project.org Subject: [alsa-devel] [PATCH] ASoC: sirf-audio-codec: Staticise local symbols X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Also make sirf_audio_codec_dai_ops const. Signed-off-by: Axel Lin --- sound/soc/codecs/sirf-audio-codec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/sirf-audio-codec.c b/sound/soc/codecs/sirf-audio-codec.c index 29cb442..6bfd25c 100644 --- a/sound/soc/codecs/sirf-audio-codec.c +++ b/sound/soc/codecs/sirf-audio-codec.c @@ -370,11 +370,11 @@ static int sirf_audio_codec_trigger(struct snd_pcm_substream *substream, return 0; } -struct snd_soc_dai_ops sirf_audio_codec_dai_ops = { +static const struct snd_soc_dai_ops sirf_audio_codec_dai_ops = { .trigger = sirf_audio_codec_trigger, }; -struct snd_soc_dai_driver sirf_audio_codec_dai = { +static struct snd_soc_dai_driver sirf_audio_codec_dai = { .name = "sirf-audio-codec", .playback = { .stream_name = "Playback",