From patchwork Sat Aug 12 15:31:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhumika Goyal X-Patchwork-Id: 9897335 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 3927460351 for ; Sat, 12 Aug 2017 15:34:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2A5F5286BB for ; Sat, 12 Aug 2017 15:34:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1EE02287AC; Sat, 12 Aug 2017 15:34:49 +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=-1.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7202D286BB for ; Sat, 12 Aug 2017 15:34:48 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 96CA9267115; Sat, 12 Aug 2017 17:33:22 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id DE1C1267115; Sat, 12 Aug 2017 17:33:21 +0200 (CEST) Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by alsa0.perex.cz (Postfix) with ESMTP id BC24E26705F for ; Sat, 12 Aug 2017 17:32:46 +0200 (CEST) Received: by mail-pg0-f65.google.com with SMTP id l64so5363175pge.2 for ; Sat, 12 Aug 2017 08:32:46 -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=9zdAxaCchBaRuHPAxZTLTDeD412X5SAPJzxZ5DqfcTU=; b=SudsI/vEbbgQgvhp81+RNV2KhkQ5/YbfgI1IoqildoF52GG3w4ST1iKoZ0nKVGG+oK KvcqHWT75mzOJ66c+Pumg8T6GGIB6Y74NTDzkcyUBG6I1VMUTlqc0B89zvaVjCFyYCvD DAGIyosEm4K9f54d+9eaxJFD3iGjoZFJxPfPn4gwG1liSnpHuZljdiiS3qERDtT+GegK ikBE9YM1uHGEaULHKGrp4VeqyE8p8pzfjf79WsiF9Nrhoc+BkqGxfJpu7BgXmU/qfeq6 9JifYEph/Uv5YhmTApWXWI/nFvlzQ5YHtjoEFJSnxkl4OoNQNCfnCEfcPfXAHh+UJTbQ PpCg== 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=9zdAxaCchBaRuHPAxZTLTDeD412X5SAPJzxZ5DqfcTU=; b=lw9OAeAG1FAxDlz1aCN6pcK3MPvcBkh8wiCeNpRUbXqzx+XUOrwwvpRuzmrBJCc1yx tsivfNQ9R5yMvradfrgP1cJ9JPU6elWDoTS2vm/xxTOE7qMcmZCBygt9ZChzAateleIn 2kR3A81DfDNd3KdQCRztZ6oW6W/bqc9zT+J7zbOq4/eVaDnvPjgmn5BrED0dHvHluppF Gn8PxpFKFgyftpOm2ELigas2RVROa08ozWR3nkmuOZTucER72JTSDavIrRvID605SJqS mo75wjjOGHbIW4qa8DmXtfvaKZ0USUIFfPhE34OG+JjdTa9v3orTglr97LNzxP5mlpRq tulw== X-Gm-Message-State: AHYfb5hnbykjjoLwsUBxgOoTSinMns9S0dPj+wzGk6I3P0WFn1c5TrKT +RhJ6bUTCEsb1A== X-Received: by 10.98.71.88 with SMTP id u85mr16773238pfa.185.1502551965763; Sat, 12 Aug 2017 08:32:45 -0700 (PDT) Received: from gmail.com ([117.196.108.245]) by smtp.gmail.com with ESMTPSA id v126sm6331101pfv.144.2017.08.12.08.32.40 (version=TLS1 cipher=AES128-SHA bits=128/128); Sat, 12 Aug 2017 08:32:45 -0700 (PDT) Received: by gmail.com (sSMTP sendmail emulation); Sat, 12 Aug 2017 21:02:37 +0530 From: Bhumika Goyal To: julia.lawall@lip6.fr, T-Bone@parisc-linux.org, perex@perex.cz, tiwai@suse.com, clemens@ladisch.de, jayakumar.alsa@gmail.com, linux-parisc@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Date: Sat, 12 Aug 2017 21:01:20 +0530 Message-Id: <1502551888-30325-9-git-send-email-bhumirks@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502551888-30325-1-git-send-email-bhumirks@gmail.com> References: <1502551888-30325-1-git-send-email-bhumirks@gmail.com> Cc: Bhumika Goyal Subject: [alsa-devel] [PATCH 08/16] ALSA: lx6464es: make snd_pcm_hardware const X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Make this const as it is only used during a copy operation. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- sound/pci/lx6464es/lx6464es.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/pci/lx6464es/lx6464es.c b/sound/pci/lx6464es/lx6464es.c index f9c3e86..9655b08 100644 --- a/sound/pci/lx6464es/lx6464es.c +++ b/sound/pci/lx6464es/lx6464es.c @@ -77,7 +77,7 @@ /* alsa callbacks */ -static struct snd_pcm_hardware lx_caps = { +static const struct snd_pcm_hardware lx_caps = { .info = (SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_INTERLEAVED | SNDRV_PCM_INFO_MMAP_VALID |