From patchwork Wed Jun 20 07:03:56 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Reddy, M.R. Swami" X-Patchwork-Id: 9466 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id DA97F23F2E for ; Wed, 20 Jun 2012 07:04:03 +0000 (UTC) Received: from mail-gh0-f180.google.com (mail-gh0-f180.google.com [209.85.160.180]) by fiordland.canonical.com (Postfix) with ESMTP id 88C0FA187D3 for ; Wed, 20 Jun 2012 07:04:03 +0000 (UTC) Received: by ghbz12 with SMTP id z12so5828385ghb.11 for ; Wed, 20 Jun 2012 00:04:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:thread-topic:thread-index:date:message-id:references :in-reply-to:accept-language:content-language:x-ms-has-attach :x-ms-tnef-correlator:x-originating-ip:content-type :content-transfer-encoding:mime-version:x-gm-message-state; bh=h7oPeXRo/s8TdB8tbXWvzz56qRRja9N+yKUGjLwYHV0=; b=fcTI9hz4kWRP6K3AX8ieKh7kuLLJnH/x2u1zXq491zkcV9SrtfH/3Kcj7xtB+VT9Ej AvKbwJGTD0uD1uhGA5SNTQctqzb9wIEJ7JIgGJ+aD8jmvri8n2a2XnKEIRZ4aYveDJPq yoy5/b3FOV8beft/oe9+CM9RW82swsNCEd+S7tSw5PuS7e8GhExsjA+HU25O2ZBsyo1h 8EWeIyYuNW51N3ajxGQUzkHuMV0bV9BldMeJzXpPbSu8cwRUtRpdXgA5Lh4B0gTFIYOq qp8wAvl0OGM4qX1C+/L4TrLNAVg7tvAhNS6CcUEXHe1xOhjpQBs0+zHh6qYpOyZEJF5O r3tA== Received: by 10.50.193.196 with SMTP id hq4mr3496564igc.57.1340175842759; Wed, 20 Jun 2012 00:04:02 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.24.148 with SMTP id v20csp164764ibb; Wed, 20 Jun 2012 00:04:01 -0700 (PDT) Received: by 10.60.28.101 with SMTP id a5mr4243187oeh.69.1340175841543; Wed, 20 Jun 2012 00:04:01 -0700 (PDT) Received: from bear.ext.ti.com (bear.ext.ti.com. [192.94.94.41]) by mx.google.com with ESMTPS id 6si15957110oef.2.2012.06.20.00.04.01 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 20 Jun 2012 00:04:01 -0700 (PDT) Received-SPF: pass (google.com: domain of MR.Swami.Reddy@ti.com designates 192.94.94.41 as permitted sender) client-ip=192.94.94.41; Authentication-Results: mx.google.com; spf=pass (google.com: domain of MR.Swami.Reddy@ti.com designates 192.94.94.41 as permitted sender) smtp.mail=MR.Swami.Reddy@ti.com Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id q5K73wli012971; Wed, 20 Jun 2012 02:03:58 -0500 Received: from DFLE71.ent.ti.com (dfle71.ent.ti.com [128.247.5.62]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id q5K73wtr026979; Wed, 20 Jun 2012 02:03:58 -0500 Received: from DLEE07.ent.ti.com ([fe80::e11a:c0ec:4b7c:8c30]) by DFLE71.ent.ti.com ([fe80::29f6:72ad:a62e:2025%21]) with mapi id 14.01.0323.003; Wed, 20 Jun 2012 02:03:58 -0500 From: "Reddy, M.R. Swami" To: Sachin Kamat , "alsa-devel@alsa-project.org" CC: "broonie@opensource.wolfsonmicro.com" , "patches@linaro.org" Subject: RE: [PATCH 1/1] ASoC: lm49453: Fix compilation warning Thread-Topic: [PATCH 1/1] ASoC: lm49453: Fix compilation warning Thread-Index: AQHNTqyikGxZPOWssEaBifc/G/zwrpcCxrWw Date: Wed, 20 Jun 2012 07:03:56 +0000 Message-ID: <354ACD19F280E44381F0C302BC7A15A3FF1F@DLEE07.ent.ti.com> References: <1340172459-29172-1-git-send-email-sachin.kamat@linaro.org> In-Reply-To: <1340172459-29172-1-git-send-email-sachin.kamat@linaro.org> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [157.170.170.90] MIME-Version: 1.0 X-Gm-Message-State: ALoCoQk8kxR/s6L+1vypnvbi2flFWNf6ji4Gu6lscsx6EvxP8uC8oMEGROTVAs/sEXR2kUmop5+O This compilation warning issue was fixed. Patch submitted by Mark. http://mailman.alsa-project.org/pipermail/alsa-devel/2012-June/052425.html Please use the latest source repo. Thanks Swami -----Original Message----- From: Sachin Kamat [mailto:sachin.kamat@linaro.org] Sent: Wednesday, June 20, 2012 11:38 AM To: alsa-devel@alsa-project.org Cc: broonie@opensource.wolfsonmicro.com; Reddy, M.R. Swami; sachin.kamat@linaro.org; patches@linaro.org Subject: [PATCH 1/1] ASoC: lm49453: Fix compilation warning Fixes the following build warning: sound/soc/codecs/lm49453.c: In function ‘lm49453_i2c_probe’: sound/soc/codecs/lm49453.c:1510:24: warning: passing argument 3 of ‘snd_soc_register_codec’ discards ‘const’ qualifier from pointer target type [enabled by default] include/sound/soc.h:333:5: note: expected ‘struct snd_soc_dai_driver *’ but argument is of type ‘const struct snd_soc_dai_driver *’ The struct snd_soc_dai_driver lm49453_dai[] has been made non-const, in line with other snd_soc_dai_driver structure variables in other codec files. Signed-off-by: Sachin Kamat --- sound/soc/codecs/lm49453.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sound/soc/codecs/lm49453.c b/sound/soc/codecs/lm49453.c index c1bc945..99b0a9d 100644 --- a/sound/soc/codecs/lm49453.c +++ b/sound/soc/codecs/lm49453.c @@ -1357,7 +1357,7 @@ static struct snd_soc_dai_ops lm49453_lineout_dai_ops = { }; /* LM49453 dai structure. */ -static const struct snd_soc_dai_driver lm49453_dai[] = { +static struct snd_soc_dai_driver lm49453_dai[] = { { .name = "LM49453 Headset", .playback = { -- 1.7.4.1