From patchwork Wed Aug 16 16:59:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhumika Goyal X-Patchwork-Id: 9904209 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D2C96600CA for ; Wed, 16 Aug 2017 17:02:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C0CEF28A47 for ; Wed, 16 Aug 2017 17:02:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B54FD28A5E; Wed, 16 Aug 2017 17:02:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4FA9C28A47 for ; Wed, 16 Aug 2017 17:02:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=6fEAIKm+JlS+MhAeFN6by0e3mUjAGSwxtHTiff94lnM=; b=VDGe7WfHH4+5FcuRv9WUb9jUaK sK5PoSOp7kgacjlk5WL+6V62+9sLQkMZAAE7H9pYTJ4jyBLegsWLdUzUSwNM+X1yfh3y6C7VNxIK6 mLNCVoiqkwl4ypCVZKhnmBJRBMvC2lxN/E5xH525JhTBqE8o06wHFGbytWu+VNmyeelLm3UP3frS1 z2wINn5kTHW9GIOsOOgcUppjkylxe/fNWFCCGfg6fSLzprHAL823C/JMqlBpJoNH+U+SAdTg6Wgo6 slGq8u4B/rnOSdtIk4mXPOh61HRmVrk9ZvrduoInIdPrtoDrh5koDR5gEYSYumNq3OxbDUtCn9nrE dPVOHujQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1di1hz-0000pD-GE; Wed, 16 Aug 2017 17:02:19 +0000 Received: from mail-pg0-x243.google.com ([2607:f8b0:400e:c05::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1di1gS-0007cp-H4; Wed, 16 Aug 2017 17:00:55 +0000 Received: by mail-pg0-x243.google.com with SMTP id u185so5706476pgb.0; Wed, 16 Aug 2017 10:00:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZARe0vjBh0FcN3ehtXSuYHfWxEXiW4L9imznrYsvxpY=; b=OIK/SVidfIXKa0LDU6dTkh9u5Wqxjpy6h6Iz2N1e71VzVSRQtmAPO9NPxPKp3fqw1P z0PLH4nvnplWEXfDqW3t1YLQT4X5Aqo05/bjONhzN9vJz6PBnOnluWiGENObJuSN6aCb eIWqdAUdyAniuiXDExA9A8eFU5hTUDb1EVAWNU2aU5+lroOrsSsrtPh+bDnFsrEckAla 0HRc/oQuKWU5W+Bc/GKXirCx03OIwJ3aPLI+H/BIIpSSxGLPorP3tDV2SViInc6paMKk sZXZmnQeb7zacBpyeLuVQYL1bbLVZ2A0XmMOjRv2Gd9udp3Z5BP4mdkHQ+ZekZyjjSF0 l3GQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ZARe0vjBh0FcN3ehtXSuYHfWxEXiW4L9imznrYsvxpY=; b=rdqRaz/wPsEer6h1ZGL1FNap5JNZx9vUIR6LbfGxK/0bFWSYh4lAca0Z5ccrz+Z7e5 Y75tbxTqaBKsg2llguwrIaeuCCNnipr8vdxwwdCFI9fCB2pr9/ZkasBHjMVz50qvtQ2j drKciZwXiipGA3ORmEoqc/L33fqN5FOBSW2RSztYEtBh6YlCUiXgS+NjuDiCQXNeOrcj RkPNRK9gYhGywPh2EliL8UsFJON4gGNNRySLVpT3EYJa8rU1fsxXut3wpCL2HcWIjOpg MizZpPN6Mq49EzOUcVAjtDOlVQz3fEjz9ijSzivtkDsNunH6lk2HuqKfyzBR5JB+zYOQ 2D7g== X-Gm-Message-State: AHYfb5jhqL4Pj+TSelnWo9tv1vZBmwv0X29y+TpdpV1Y42JslaVuFtCL 6y9R602lFviJhA== X-Received: by 10.98.71.88 with SMTP id u85mr2260118pfa.185.1502902823214; Wed, 16 Aug 2017 10:00:23 -0700 (PDT) Received: from gmail.com ([117.196.112.99]) by smtp.gmail.com with ESMTPSA id e19sm3783194pga.61.2017.08.16.10.00.16 (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 16 Aug 2017 10:00:22 -0700 (PDT) Received: by gmail.com (sSMTP sendmail emulation); Wed, 16 Aug 2017 22:30:13 +0530 From: Bhumika Goyal To: julia.lawall@lip6.fr, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, daniel@zonque.org, haojian.zhuang@gmail.com, robert.jarzmik@free.fr, heiko@sntech.de, krzk@kernel.org, sbkim73@samsung.com, s.nawrocki@samsung.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 4/7] ASoC: pxa: make snd_soc_ops const Date: Wed, 16 Aug 2017 22:29:27 +0530 Message-Id: <1502902770-3758-5-git-send-email-bhumirks@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502902770-3758-1-git-send-email-bhumirks@gmail.com> References: <1502902770-3758-1-git-send-email-bhumirks@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170816_100045_450776_F951284F X-CRM114-Status: UNSURE ( 9.53 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bhumika Goyal MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Make this const as it is only stored in the ops field of a snd_soc_dai_link structure, which is const. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- sound/soc/pxa/raumfeld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/pxa/raumfeld.c b/sound/soc/pxa/raumfeld.c index 111a907..43f6ab7 100644 --- a/sound/soc/pxa/raumfeld.c +++ b/sound/soc/pxa/raumfeld.c @@ -196,7 +196,7 @@ static int raumfeld_ak4104_hw_params(struct snd_pcm_substream *substream, return 0; } -static struct snd_soc_ops raumfeld_ak4104_ops = { +static const struct snd_soc_ops raumfeld_ak4104_ops = { .hw_params = raumfeld_ak4104_hw_params, };