From patchwork Tue Mar 24 10:47:43 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6078001 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5D94DBF90F for ; Tue, 24 Mar 2015 10:48:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7EC2320212 for ; Tue, 24 Mar 2015 10:48:16 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 61844201C8 for ; Tue, 24 Mar 2015 10:48:15 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 41258260501; Tue, 24 Mar 2015 11:48:14 +0100 (CET) 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 D552126043C; Tue, 24 Mar 2015 11:48:04 +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 E06EC260452; Tue, 24 Mar 2015 11:48:03 +0100 (CET) Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by alsa0.perex.cz (Postfix) with ESMTP id 8A81E260436 for ; Tue, 24 Mar 2015 11:47:56 +0100 (CET) Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NLP001E6Q6HCK00@mailout2.w1.samsung.com> for alsa-devel@alsa-project.org; Tue, 24 Mar 2015 10:51:53 +0000 (GMT) X-AuditID: cbfec7f4-b7f126d000001e9a-d5-55114031c43c Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id DD.5C.07834.13041155; Tue, 24 Mar 2015 10:45:05 +0000 (GMT) Received: from AMDC1943.digital.local ([106.116.151.171]) by eusync4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NLP00AC8PZOIX20@eusync4.samsung.com>; Tue, 24 Mar 2015 10:47:53 +0000 (GMT) From: Krzysztof Kozlowski To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Kuninori Morimoto , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Date: Tue, 24 Mar 2015 11:47:43 +0100 Message-id: <1427194063-31572-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrHJMWRmVeSWpSXmKPExsVy+t/xa7qGDoKhBt/fc1tcuXiIyWLqwyds Fq9fGFq8OryL0eLblQ4mi8u75rBZdO7qZ7V4ufkNkwOHx4bPTWweO2fdZffYtKqTzWPf22Vs Ht/OTGTx6NuyitFj8+lqj8+b5AI4orhsUlJzMstSi/TtErgyGv5vZyt4yVrxYtMylgbGyyxd jBwcEgImEpObqrsYOYFMMYkL99azgdhCAksZJWbN1uhi5AKy+5gkznX/YAdJsAkYS2xevoQN JCEi8J9RYteSG8wgCWYBQ4mf7/6AFQkLOEv8P7qHGWQBi4CqxMUPVSBhXgF3ic4/U1khlslJ nDw2mXUCI/cCRoZVjKKppckFxUnpuYZ6xYm5xaV56XrJ+bmbGCFh9GUH4+JjVocYBTgYlXh4 I+r5Q4VYE8uKK3MPMUpwMCuJ8AqrCIYK8aYkVlalFuXHF5XmpBYfYmTi4JRqYMxfmr2RMzj0 c0JV0rcnQQsMDkvfNQvYLPIq+7Smz7o3/hOaLpmFe0qXvZ61llH0qW3eM0mHkI8nihakXlCV mlFxdNP18C1nOhT0/r0I3HPqQu0dge1ndqpV/uO4df7UVIPXz/M0U4zOvfgU2fzkz273yQeL lp5KubxuhlCeM2/ShsP/ns1xOX1YiaU4I9FQi7moOBEAyopn+gECAAA= Cc: Krzysztof Kozlowski Subject: [alsa-devel] [PATCH] ASoC: rsnd: Fix duplicate const for DVC ramp rates 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: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Replace duplicated const keyword for 'dvc_ramp_rate' with proper array of const pointers to const strings. Signed-off-by: Krzysztof Kozlowski --- sound/soc/sh/rcar/dvc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/sh/rcar/dvc.c b/sound/soc/sh/rcar/dvc.c index aeeef1352eee..6d85e36c6c2b 100644 --- a/sound/soc/sh/rcar/dvc.c +++ b/sound/soc/sh/rcar/dvc.c @@ -36,7 +36,7 @@ struct rsnd_dvc { ((pos) = (struct rsnd_dvc *)(priv)->dvc + i); \ i++) -static const char const *dvc_ramp_rate[] = { +static const char * const dvc_ramp_rate[] = { "128 dB/1 step", /* 00000 */ "64 dB/1 step", /* 00001 */ "32 dB/1 step", /* 00010 */