From patchwork Fri Mar 7 03:44:40 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 25859 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f200.google.com (mail-pd0-f200.google.com [209.85.192.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A44EB203C3 for ; Fri, 7 Mar 2014 03:47:11 +0000 (UTC) Received: by mail-pd0-f200.google.com with SMTP id p10sf8178212pdj.7 for ; Thu, 06 Mar 2014 19:47:10 -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=QbgklHLk3Ssz1SMS+5nUEiMlZSGlzy4wdFSiL7rRW7w=; b=hGQdv56DQxmGufdtkXjL7WZnKznx+b+mLEd1tAERk3xNWB6qlMuFoSfY3TgbBW8YoF 5tf1PlTl4U1b+6BhVqSj5SXyq8KXcC57YILU3HgiHfbqUSA5Iissx8KgCH6/oe5qbqWg XYqgDlpJMHeIOrXMOLCNg7ndmS3xQzXsPRRnWkFHVXSCqRXto7lfnxo6A2VEKcapojeJ KQ9WChLvU1FwI0DZ1VVFGUoe6sXW2lXM4YTe7/yMpcIB4rf0/WFmI2i0nuHXbPO/azeV quS98Ls2/ACO7apSH4YnTLIy7h4uPK1xSM5uLsIwcEEp09GRfSjtL4521ioD97/9+H4P rhXg== X-Gm-Message-State: ALoCoQkLiFbtj9uZDN9eVRy1vTsZMOrxRniitHQ6yT5E/p0fkf8SI26HdFRc08FQHu2gXuMZvEO9 X-Received: by 10.67.2.101 with SMTP id bn5mr6836614pad.29.1394164030808; Thu, 06 Mar 2014 19:47:10 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.97.196 with SMTP id m62ls1015971qge.11.gmail; Thu, 06 Mar 2014 19:47:10 -0800 (PST) X-Received: by 10.58.201.5 with SMTP id jw5mr8060423vec.6.1394164030673; Thu, 06 Mar 2014 19:47:10 -0800 (PST) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id ku3si1798069veb.60.2014.03.06.19.47.10 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Mar 2014 19:47:10 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.171 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.171; Received: by mail-vc0-f171.google.com with SMTP id le5so3686659vcb.30 for ; Thu, 06 Mar 2014 19:47:10 -0800 (PST) X-Received: by 10.220.131.210 with SMTP id y18mr8246427vcs.12.1394164030508; Thu, 06 Mar 2014 19:47:10 -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 i9csp85739vck; Thu, 6 Mar 2014 19:47:10 -0800 (PST) X-Received: by 10.14.182.5 with SMTP id n5mr16052081eem.68.1394164029592; Thu, 06 Mar 2014 19:47:09 -0800 (PST) Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id z42si13443358eel.128.2014.03.06.19.47.08 for ; Thu, 06 Mar 2014 19:47:09 -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 2FF622659B1; Fri, 7 Mar 2014 04:47:08 +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 BA686265970; Fri, 7 Mar 2014 04:46:36 +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 420F7265973; Fri, 7 Mar 2014 04:46:35 +0100 (CET) Received: from mezzanine.sirena.org.uk (mezzanine.sirena.org.uk [106.187.55.193]) by alsa0.perex.cz (Postfix) with ESMTP id 45FFC26593D for ; Fri, 7 Mar 2014 04:46: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 1WLljy-0005RJ-Kj; Fri, 07 Mar 2014 03:46:31 +0000 Received: from broonie by finisterre with local (Exim 4.82) (envelope-from ) id 1WLliO-0004ev-OC; Fri, 07 Mar 2014 11:44:52 +0800 From: Mark Brown To: Liam Girdwood Date: Fri, 7 Mar 2014 11:44:40 +0800 Message-Id: <1394163880-17876-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: pcm512x: Fix duplicate const warning 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.171 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 --- sound/soc/codecs/pcm512x.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/soc/codecs/pcm512x.c b/sound/soc/codecs/pcm512x.c index 3a0bbb6..a035ba8 100644 --- a/sound/soc/codecs/pcm512x.c +++ b/sound/soc/codecs/pcm512x.c @@ -203,10 +203,10 @@ static const unsigned int pcm512x_dsp_program_values[] = { 7, }; -static const SOC_VALUE_ENUM_SINGLE_DECL(pcm512x_dsp_program, - PCM512x_DSP_PROGRAM, 0, 0x1f, - pcm512x_dsp_program_texts, - pcm512x_dsp_program_values); +static SOC_VALUE_ENUM_SINGLE_DECL(pcm512x_dsp_program, + PCM512x_DSP_PROGRAM, 0, 0x1f, + pcm512x_dsp_program_texts, + pcm512x_dsp_program_values); static const char * const pcm512x_clk_missing_text[] = { "1s", "2s", "3s", "4s", "5s", "6s", "7s", "8s"