Message ID | 1502710730-18912-12-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 [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xWDmq3pF5z9t24 for <patchwork-incoming@ozlabs.org>; Mon, 14 Aug 2017 22:04:27 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="h13+oDOZ"; 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 3xWDmq2gXDzDqTm for <patchwork-incoming@ozlabs.org>; Mon, 14 Aug 2017 22:04:27 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="h13+oDOZ"; 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 3xWDGY6Y1JzDqZy for <linuxppc-dev@lists.ozlabs.org>; Mon, 14 Aug 2017 21:41:41 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="h13+oDOZ"; dkim-atps=neutral Received: by mail-pg0-x244.google.com with SMTP id y192so10278186pgd.1 for <linuxppc-dev@lists.ozlabs.org>; Mon, 14 Aug 2017 04:41:41 -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=9KweeFrsYNFAGc7DrXzafT6EjUpHtEsPstuqNvpH6+8=; b=h13+oDOZD8+3p12IWd2cRA84AizjfesegFKx9QRBV847IW0I9R9ENVCUQukQwiytj6 NSHrCS6lPEBiSqaPukzXVOVdMmWOVMBzjgY9VuuGn6TlmSY/AbLs3/EjViLh0cuqo6BQ qstVGrLdere3iZuiA8TBaIceAnaTpkvwjsr7iR3mfJrAnHYOb3GMULLf2WNYCSX2yY2W XGM6kArVTuF9A8oYtfAcaqdTYeGFo8jEX8x8FO95JgKY04mVnDzzxRcu1tpKZ3Oi+Ek7 q59wH2F32VsNGJeNBPnDJWPHLe+KlkY+BViy9B5tU0tc2YUfEW6WnM9aTach0bymleRT kn4g== 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=9KweeFrsYNFAGc7DrXzafT6EjUpHtEsPstuqNvpH6+8=; b=LrGIUIZX11+pEP1f3h0GHSWOJez4CaerBWtsto9gIlD77PKV9uGDXVYY+zLC47p+9B HABn+Lfunjwv6FWV8q+5KnzjPZ1GgfYdguy2swJMi3Jo3EFLJ0XgFtSLm+k3610tAs3N +96ApYjI9AnYn3NZEWxN+6zqfdkDpeN+175de9IodPa9SlDcXJ8ZratYnVeMLj42ilNJ kU5C4zm/0Q3mmeYXJcJcK00DCu6Y+nCD/lcmA5bs8XFI5pkXEB+4UMVpaIpffL2VX+SA R5ce9T2cmJOFyeX5ClSDo8ixGhs53jIsZDepPp1uQt8dRRE3MtMlsmOmtwKeOB7FitLe fyYw== X-Gm-Message-State: AHYfb5igaAfj6tXWWJ8a9rTWcdGNSh1c49Cj2I0P0VINOqBB4LPTsrtZ 9CDQbm0pGA1/Ug== X-Received: by 10.99.191.73 with SMTP id i9mr23030438pgo.83.1502710900071; Mon, 14 Aug 2017 04:41:40 -0700 (PDT) Received: from gmail.com ([59.94.201.231]) by smtp.gmail.com with ESMTPSA id n12sm14755427pfa.148.2017.08.14.04.41.29 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 14 Aug 2017 04:41:39 -0700 (PDT) Received: by gmail.com (sSMTP sendmail emulation); Mon, 14 Aug 2017 17:11:26 +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 11/11] ASoC: soc-utils: make snd_soc_platform_driver const Date: Mon, 14 Aug 2017 17:08:50 +0530 Message-Id: <1502710730-18912-12-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/soc-utils.c b/sound/soc/soc-utils.c index 644d9a9..e30aacb 100644 --- a/sound/soc/soc-utils.c +++ b/sound/soc/soc-utils.c @@ -284,7 +284,7 @@ static int dummy_dma_open(struct snd_pcm_substream *substream) .ioctl = snd_pcm_lib_ioctl, }; -static struct snd_soc_platform_driver dummy_platform = { +static const struct snd_soc_platform_driver dummy_platform = { .ops = &dummy_dma_ops, };
Make this const as it is only passed as the 2nd argument to the function snd_soc_register_platform, which is of type const. Done using Coccinelle Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> --- sound/soc/soc-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)