Message ID | 1502710730-18912-12-git-send-email-bhumirks@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-omap-owner@kernel.org> 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 F4089603B5 for <patchwork-linux-omap@patchwork.kernel.org>; Mon, 14 Aug 2017 11:42:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E4A4728613 for <patchwork-linux-omap@patchwork.kernel.org>; Mon, 14 Aug 2017 11:42:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D94092860F; Mon, 14 Aug 2017 11:42:19 +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=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8DF7328614 for <patchwork-linux-omap@patchwork.kernel.org>; Mon, 14 Aug 2017 11:42:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753207AbdHNLll (ORCPT <rfc822;patchwork-linux-omap@patchwork.kernel.org>); Mon, 14 Aug 2017 07:41:41 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:35716 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753182AbdHNLlk (ORCPT <rfc822; linux-omap@vger.kernel.org>); Mon, 14 Aug 2017 07:41:40 -0400 Received: by mail-pg0-f67.google.com with SMTP id l64so10286791pge.2; Mon, 14 Aug 2017 04:41:40 -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=UgOSPZ9jTd1apIMsFNqHwMaxzWXsaoEp7okzeKRzv9mA9yjU2bf59sIFBrLyf/lLON K9otOBDBRM+Z8JcAGrq2SeDbzVUpBkv0PnEanncD5VH7IOBIrgBfwvnpaZELJjN208oE /tE50QbEPzQaP8/eCZj7xIFjcnevLwfl7OsCFzmoxZPIuAiHT4QvSExABm46E4LAuSTp elEykm0Q5CxQoDYpVCaJpqDshbcRtT7T5YHSplIzcBm4cbD/xw5R/aK2gRO9WoXXw3k4 Ay1lREWHfA0GVwx0VB0qor6whFQ/DrmCoqFE3KDGmakkckXCQJ8RlV7X8Chfn3AkMPDl guRA== X-Gm-Message-State: AHYfb5gmNpSpfz8TBRNkPlo9XpyBwPtf9s/SZCxWtSn65vt6PbKRZXOK 0g/f8m6fSG2JxQ== 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 Cc: Bhumika Goyal <bhumirks@gmail.com> 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> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: <linux-omap.vger.kernel.org> X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
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(-)