Message ID | 1502710730-18912-11-git-send-email-bhumirks@gmail.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show
Return-Path: <linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org> X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xWDkm3xbQz9t24 for <patchwork-incoming@ozlabs.org>; Mon, 14 Aug 2017 22:02:40 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="vMyacfp3"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3xWDkm2rjszDq7g for <patchwork-incoming@ozlabs.org>; Mon, 14 Aug 2017 22:02:40 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="vMyacfp3"; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Received: from mail-pg0-x244.google.com (mail-pg0-x244.google.com [IPv6:2607:f8b0:400e:c05::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3xWDGJ1n7YzDqpD for <linuxppc-dev@lists.ozlabs.org>; Mon, 14 Aug 2017 21:41:28 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="vMyacfp3"; dkim-atps=neutral Received: by mail-pg0-x244.google.com with SMTP id 83so10278968pgb.4 for <linuxppc-dev@lists.ozlabs.org>; Mon, 14 Aug 2017 04:41:28 -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=VtXhQY68bxB1hkGne7R6jnBAgYeaS3aar91V9Mxbpbw=; b=vMyacfp3M3o649U5XVvEZ50B9E9BGcbLjlQYf2YWaQ2WWPwdYnxkstsYGhsrZFISuP EM2RbU8EgdCcBg5tbo+p/ldo5bz3fxBuxCIT53ZYhH0vA0S7xIx7R18kwJV4YPfJJMQe +EIY5b8SVfaFxFJhxtRkQExetwOuLP9rfvNjiqAw+HGOOC6K917nF3fm3es5exQkcE57 ESCG/5I/hr09DCg32WjBgmpqnRjIcXAE8P421zlGgR5rcsPzh8NymNTAIvuCbNMQa65/ swGcPt2vDYI0UUkfZutg6qadz+0xcS2eY9ccIUvxU7WGWsuav+hERFVqiS2ASqDKLTXv Snhw== 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=VtXhQY68bxB1hkGne7R6jnBAgYeaS3aar91V9Mxbpbw=; b=fAN1L62SL/9OnKXT/3Owj46QsD7ZajXNv5vcOFiC625d+FdItKWsx/glMXIPBVHvzB ocoRtcCDownTvKEsYCb/EGE5PoPHAfG74rsIEIwF9KoaWt8CeE1WzsUI9yjrGyClrxEQ GNG2RIHv6disRGvpTC/guNxTV52O7rL3zl/jacm2HLUtDE5UX+6IhPrpsNKfHUF8qNhF BA9npq0B6KSaoh9xABtwKRczRJzs6t/zDzyf6t18jvmpRLF6YK+x9CthzQkhFOs7ipfd FYx86Z41nObcT5XqAkJ/BmMcP0GUEWRWh7rnW2WBUKP6qfK8QvmnXKgN3O8ckm3pUc7y Bqew== X-Gm-Message-State: AHYfb5i2Ic8ScyEiCHqYvQU0Su5nt1ktY0/4/yfbFAaP4VUmlor7Cv1p iBfoRDnp11BMXg== X-Received: by 10.98.216.67 with SMTP id e64mr24333782pfg.127.1502710886273; Mon, 14 Aug 2017 04:41:26 -0700 (PDT) Received: from gmail.com ([59.94.201.231]) by smtp.gmail.com with ESMTPSA id z64sm10840184pgz.40.2017.08.14.04.41.15 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 14 Aug 2017 04:41:25 -0700 (PDT) Received: by gmail.com (sSMTP sendmail emulation); Mon, 14 Aug 2017 17:11:12 +0530 From: Bhumika Goyal <bhumirks@gmail.com> To: julia.lawall@lip6.fr, brian.austin@cirrus.com, Paul.Handrigan@cirrus.com, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, bardliao@realtek.com, chiou@realtek.com, timur@tabi.org, nicoleotsuka@gmail.com, Xiubo.Lee@gmail.com, fabio.estevam@nxp.com, yang.jie@linux.intel.com, peter.ujfalusi@ti.com, jarkko.nikula@bitmer.com, daniel@zonque.org, haojian.zhuang@gmail.com, robert.jarzmik@free.fr, plai@codeaurora.org, bgoswami@codeaurora.org, krzk@kernel.org, sbkim73@samsung.com, s.nawrocki@samsung.com, alsa-devel@alsa-project.org, patches@opensource.cirrus.com, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 10/11] ASoC: txx9: make snd_soc_platform_driver const Date: Mon, 14 Aug 2017 17:08:49 +0530 Message-Id: <1502710730-18912-11-git-send-email-bhumirks@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502710730-18912-1-git-send-email-bhumirks@gmail.com> References: <1502710730-18912-1-git-send-email-bhumirks@gmail.com> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Linux on PowerPC Developers Mail List <linuxppc-dev.lists.ozlabs.org> List-Unsubscribe: <https://lists.ozlabs.org/options/linuxppc-dev>, <mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe> List-Archive: <http://lists.ozlabs.org/pipermail/linuxppc-dev/> List-Post: <mailto:linuxppc-dev@lists.ozlabs.org> List-Help: <mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help> List-Subscribe: <https://lists.ozlabs.org/listinfo/linuxppc-dev>, <mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe> Cc: Bhumika Goyal <bhumirks@gmail.com> Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" <linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org> |
diff --git a/sound/soc/txx9/txx9aclc.c b/sound/soc/txx9/txx9aclc.c index 7912bf0..7df95df 100644 --- a/sound/soc/txx9/txx9aclc.c +++ b/sound/soc/txx9/txx9aclc.c @@ -403,7 +403,7 @@ static int txx9aclc_pcm_remove(struct snd_soc_platform *platform) return 0; } -static struct snd_soc_platform_driver txx9aclc_soc_platform = { +static const struct snd_soc_platform_driver txx9aclc_soc_platform = { .probe = txx9aclc_pcm_probe, .remove = txx9aclc_pcm_remove, .ops = &txx9aclc_pcm_ops,
Make this const as it is only passed as the 2nd argument to the function devm_snd_soc_register_platform, which is of type const. Done using Coccinelle. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> --- sound/soc/txx9/txx9aclc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)