From patchwork Wed Aug 16 16:59:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhumika Goyal X-Patchwork-Id: 9904229 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 DA20E60231 for ; Wed, 16 Aug 2017 17:13:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B57CA28A54 for ; Wed, 16 Aug 2017 17:13:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AF7C928A68; Wed, 16 Aug 2017 17:13:55 +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 EF30A28A5B for ; Wed, 16 Aug 2017 17:13:54 +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=6p0ygI673nqH+BLLBWOgtLzmsIg5r5H6CUsG4XQCXII=; b=TpQnJMb9fnXa1kOZNDx0r7bcuL KPqzMCHr8IZxBeun3Q7en2ttxLuKH7FyZcm4yzWtT7trpg2XSZQi+7v4s8yzEDMM2ABjNmylPriYB O6xwcoSBeC1g51PQiI8S9hPLRHFqugoLfFt/t/JdZKEFM7Ev71oeK4keG7C0PeLG7uvgQ2i5pyJJE qYZob4QFUBC+iif9XcgOciGAG59lMPqH+lfn3ghMh8+NpO/CHAhxSZcvnyKSFjFolqiAYugtKhoYw RxnYj2OuIL6ewCGZiaqo7OoJ/aWmeg6WH95X+WZ7I+J+EbOgi73m+bfXZBMGJfIa9XTQLm4MFDmwV pNdj0CTg==; 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 1di1su-0006um-Si; Wed, 16 Aug 2017 17:13:36 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1di1ss-0006jW-VL; Wed, 16 Aug 2017 17:13:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=v8PITN5Wq5dvIN0NQ18yrrxyCLesWA0MkAKeSmtxexw=; b=eADh9xDBEMhHTI9t6d13VFDCZ wEaon8KdHwQW5jPMpHQc3x7aCTzQHWqfLcelVx8UkMWtEq/FtBVEzoVc5daSGosLdjo9L7EzZsUTc UakeqWfg1DO/dG/bxx5jGu66gcG7dlGIjWUYpAt9rZkx09tatqIQ7pu9p72yKaUEN5yjprOSFe34O spARHv8A0KHjwll2EJmzDVvOQ9KZeDv/qCN33cS8nHnZQRjjYpwQFMYU3B4OfkHPItfvH3XMe7bq/ sJ1vwpXJGCw/7/3YG9BA5vBQT393VJ2nzgV9Zh1r5AWN0TqFJZkMm5jkTiyqJrxobcyT4A+rBmeUc 94GhMMYYQ==; Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1di1gy-00044G-2C; Wed, 16 Aug 2017 17:01:18 +0000 Received: by mail-pf0-x243.google.com with SMTP id c65so1826750pfl.0; Wed, 16 Aug 2017 10:00:55 -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=v8PITN5Wq5dvIN0NQ18yrrxyCLesWA0MkAKeSmtxexw=; b=AjKRULEDVJq/X8ih+457HdOm7O8mrOTEb1Wf4JboegbxZ/X4aZQDZY29R3Tw9BxM3i pp8qp38GSSo5IOUp7RJmmHRrJFgHwtncMby9OnfXNOEnFjrm1RBUVOlxbBOzo1LMyCzE ChstG0izrknWz8my6sjLKnhDE3qA+dZS8RWJsj7eL61PJ4hCmHxri9P6nrCew1sOQxsy Y5SB/sZR3WFTQ2/3VcB5lRVE6maagrtuEg/czRV8weIdBNU0e8+HUUyUFdTgyAS567wi ofKHFTT7uoYjEZadvOIODFamLUmLOQ/vzZsmf/WxfaxM/NeCnBNwGAt15Zen8+cxtzto 0CAA== 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=v8PITN5Wq5dvIN0NQ18yrrxyCLesWA0MkAKeSmtxexw=; b=IIm/CgLihUSP2ukm8b4zN7R1Ewq99U7C2B6SEjN2Kh3j+IH+hoq5R3+PimxAQuOONG P87nEfiyR4O2Ogka6fmpR6DRWvPFwwYKhmtofhps/nQz0nZ50oIY7i5E8MWKQU9JfjzF 81a6B1Q9C1ZqmuwZGYtlGtT5pJPuNxn4fpAT1ls7TSmRT94tFXpILRKweF2dhGBa0x4d FY6IcJr6+0okmG868fxwVB5PE+J27EeiL5d0+ZfZ0D6HgHEK0NiOQEN6IowF5qqng1Zf MMkFFDzuv6EVFKfFozI6WzoEYf5eejFDke6kLyFn8hFYXvLLgd8LO+lNlYg4yJEhju6h Qh7Q== X-Gm-Message-State: AHYfb5hUl1862ofPwffXG3CasA4fRtChY4FPKur7Sr7nGU1v8zX14WbM fx4/BOk2TwbW9g== X-Received: by 10.84.238.194 with SMTP id l2mr1253546pln.300.1502902853163; Wed, 16 Aug 2017 10:00:53 -0700 (PDT) Received: from gmail.com ([117.196.112.99]) by smtp.gmail.com with ESMTPSA id r87sm3247936pfb.112.2017.08.16.10.00.46 (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 16 Aug 2017 10:00:52 -0700 (PDT) Received: by gmail.com (sSMTP sendmail emulation); Wed, 16 Aug 2017 22:30:43 +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 7/7] ASoC: sh: make snd_soc_ops const Date: Wed, 16 Aug 2017 22:29:30 +0530 Message-Id: <1502902770-3758-8-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_180116_288748_2EDE8C6C X-CRM114-Status: GOOD ( 11.35 ) 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/sh/migor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/sh/migor.c b/sound/soc/sh/migor.c index 672bcd4..ecb057f 100644 --- a/sound/soc/sh/migor.c +++ b/sound/soc/sh/migor.c @@ -98,7 +98,7 @@ static int migor_hw_free(struct snd_pcm_substream *substream) return 0; } -static struct snd_soc_ops migor_dai_ops = { +static const struct snd_soc_ops migor_dai_ops = { .hw_params = migor_hw_params, .hw_free = migor_hw_free, };