From patchwork Wed Aug 16 16:59:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhumika Goyal X-Patchwork-Id: 9904211 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 12A81600CA for ; Wed, 16 Aug 2017 17:03:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F38C728A58 for ; Wed, 16 Aug 2017 17:03:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E6D4728A5B; Wed, 16 Aug 2017 17:03:39 +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 9BCF828A4D for ; Wed, 16 Aug 2017 17:03:39 +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=lj7p8vLDTPxhoeR3FLggosek6JZNHAfmZjPK+Q2qgXI=; b=HBrJmTaJDviF8kGEg/1sFOYEhg /N2U+JGoViNeg4TDF9miIUi2DaGisHxqbhREPsmdlm3my0VgRY6wUoBMUcKYRea/LaI3YG8YzmhY8 qiuAqA0FkFaL4y5QNK1jAJMgJ7oRe/NCQp1gnMYCPNd3enkcjNfhNMVAWVEbSr3sVWDufF8Rjinxo QRVkkVCzSbKHVe36lD5qNUMJewnnTWZWvIBGbNbdeM9x7l8GZQK529CztG8IIDrHYObmWkefEJhqv VBHoppr/Y8QPbG5dFRz+/Pb+DOxrcxZ2B3d9GvvgObvRNJtHcbypAmNQHeRaM4f5Kg3vWVUzFFLdM rU72XDmQ==; 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 1di1jG-00015c-Qf; Wed, 16 Aug 2017 17:03:38 +0000 Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1di1fz-00067i-7f; Wed, 16 Aug 2017 17:00:25 +0000 Received: by mail-pf0-x242.google.com with SMTP id p13so1824090pfd.4; Wed, 16 Aug 2017 09:59:54 -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=Xe9ymBM3Q8PeRSmRhTtYYHZgEk7Uwn/xdYJI8sC/Uc8=; b=Yd+mc8W+VZDoBonqdt7MWKao9vZz3OD8i4+UcjognDWwMll5AAUurHOHref4RFy9Jh riHVErdu5jNYV441rGLMCe48OQ2kHuyj7stnik/gVrDCSVMW2VDKF4Gt5pzONpX9ejCJ SBhwnMeDPaFE6WjrFtHrKYMor181t7qiBmPHdFQZm4wVf+Ha2R/IKltipH+rCBA+99LE OR0Ihs6qxD34OhxDo00gh4StIVf2pBre2oGAgRHEZkJyheGby6RJ3Nha1ndyzh7k6Bu6 fXhHICVc0c7u5zD87NtiKvAqqjaKGI9Qa6pSn0et7SXkcS3CtFcg+OsqyUrWdOYLb62q jwlQ== 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=Xe9ymBM3Q8PeRSmRhTtYYHZgEk7Uwn/xdYJI8sC/Uc8=; b=IyVlxuipoma2d0oQPue6trjicMP2SXujb/0spDq63Hz9+ZB2g8jkd1h6VsDnTu9uHu obV0t4sOAej5uQbUu0BNCBvuIUnwd2P+a1akbB7gWncyDF/7JjPmQPEA2EHuU/qogmq2 kag9s+6gnqe3Z4+7JrIFlY4ozoJD/RSVpMsGE6j/OqJvGl2fW4lIQKvLuU/F2qryURUg PZHKJN5/hnbIIJP/DfqabfdJOEFN/GybRi75Hmqq8ns25WLSLT/+GgW49T/8ZaFtoSHC zfeHqlx3vFiDa6O4H5Z3gJfkU8lLhs5nbGcwanlI5uNZW5/jNjS/O+jAceylcjBj99uV 8vVg== X-Gm-Message-State: AHYfb5g2ybA3hjSgOOjg+N0Ou39hzKP1cTUVkrrQ71NEC70HqyFtB1Ue 0RR97pyakILOKQ== X-Received: by 10.98.209.87 with SMTP id t23mr2317167pfl.86.1502902793501; Wed, 16 Aug 2017 09:59:53 -0700 (PDT) Received: from gmail.com ([117.196.112.99]) by smtp.gmail.com with ESMTPSA id s14sm2802480pfj.124.2017.08.16.09.59.46 (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 16 Aug 2017 09:59:52 -0700 (PDT) Received: by gmail.com (sSMTP sendmail emulation); Wed, 16 Aug 2017 22:29:44 +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 1/7] ASoC: aux1x: make snd_soc_ops const Date: Wed, 16 Aug 2017 22:29:24 +0530 Message-Id: <1502902770-3758-2-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_100016_240670_791B9C1C X-CRM114-Status: UNSURE ( 9.63 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bhumika Goyal MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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/au1x/db1200.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/au1x/db1200.c b/sound/soc/au1x/db1200.c index 5c73061..301e1fc 100644 --- a/sound/soc/au1x/db1200.c +++ b/sound/soc/au1x/db1200.c @@ -99,7 +99,7 @@ static int db1200_i2s_startup(struct snd_pcm_substream *substream) return 0; } -static struct snd_soc_ops db1200_i2s_wm8731_ops = { +static const struct snd_soc_ops db1200_i2s_wm8731_ops = { .startup = db1200_i2s_startup, };