Message ID | 1501247311-19803-6-git-send-email-bhumirks@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.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 34B7D6035E for <patchwork-alsa-devel@patchwork.kernel.org>; Fri, 28 Jul 2017 13:10:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 25454288CB for <patchwork-alsa-devel@patchwork.kernel.org>; Fri, 28 Jul 2017 13:10:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 18721288DF; Fri, 28 Jul 2017 13:10:28 +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 7DDAA288CB for <patchwork-alsa-devel@patchwork.kernel.org>; Fri, 28 Jul 2017 13:10:27 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 5604C267734; Fri, 28 Jul 2017 15:09:55 +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 40D01267762; Fri, 28 Jul 2017 15:09:54 +0200 (CEST) Received: from mail-pg0-f68.google.com (mail-pg0-f68.google.com [74.125.83.68]) by alsa0.perex.cz (Postfix) with ESMTP id 310AB26773F for <alsa-devel@alsa-project.org>; Fri, 28 Jul 2017 15:09:35 +0200 (CEST) Received: by mail-pg0-f68.google.com with SMTP id 125so10145143pgi.5 for <alsa-devel@alsa-project.org>; Fri, 28 Jul 2017 06:09:35 -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=weVo/JFFxF41S78R0JeOBV3D4gIGy3/agNF/oX4LBQI=; b=tYS9aZao4rkN0oUfbVlfIlANnKoQdqys2vfXqIgapJW4VwQtWh3M5rCh8s9pFocT2o W+dQ6qwQHtdJiPqkxAtSSfav03M2kvVImkrGckD3p+Ls4i7yFo52dA5yQ3MVChORgo0U YAq+FDUQG2CkmzJfDwLuH0pXU/Daer9XoOlEH5+YFSj0F+WSLRVoDL1O0unkRKcFIdMj zA0t8nr8iURn8HYLlKSclo8vvXOOkuvDE/51eKwoWdluFrwUa9Gxa6DxBhk5vpEbeWaM gMZLKcNnIIrp57af6+gN9EWPE6iqHxyisypY72sCUm3x+G7AQszDCFblBxexnSP9G+6j QKgg== 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=weVo/JFFxF41S78R0JeOBV3D4gIGy3/agNF/oX4LBQI=; b=fpMIHPTh1y7J0/GnxK0w67MiE1CLXNIwNrBGyEa84+gJgzxN2VWgRITs1KBU/7w82A pi1CrejTiMDprDAh0fyi0/FFEmeS89+DWk0xTd4o5FyH7g2OyUijYx2IqibNyrZjppVe 4FQLSgWr68N7JtY98Nl4+vKqay1vC7j1Z73N3W8FVNXNMY2yyyhNil+F2km4qosuNrW+ 9uYXuQ1/bol2Tp02aLf9kAy+V8UefG/u/yuZRojRlrNI1BYTLFs9u1z7jycLY+fzFZtk Mk5u2sGn4NvIknltzy80OUTVhDAvgcOP7LguNMI567L43Tb6OGdIZOmWNN0yNryYzsbf Mwdg== X-Gm-Message-State: AIVw111WwbwwFJQpU7BikUzblS3x952eo0f0lEASCf9s0dyFsIarjPOD Zq8PPpmi7ji9hQ== X-Received: by 10.98.29.72 with SMTP id d69mr7405364pfd.226.1501247374884; Fri, 28 Jul 2017 06:09:34 -0700 (PDT) Received: from gmail.com ([117.196.112.133]) by smtp.gmail.com with ESMTPSA id g70sm12205678pgc.23.2017.07.28.06.09.31 (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 28 Jul 2017 06:09:34 -0700 (PDT) Received: by gmail.com (sSMTP sendmail emulation); Fri, 28 Jul 2017 18:39:28 +0530 From: Bhumika Goyal <bhumirks@gmail.com> To: julia.lawall@lip6.fr, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Date: Fri, 28 Jul 2017 18:38:30 +0530 Message-Id: <1501247311-19803-6-git-send-email-bhumirks@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1501247311-19803-1-git-send-email-bhumirks@gmail.com> References: <1501247311-19803-1-git-send-email-bhumirks@gmail.com> Cc: Bhumika Goyal <bhumirks@gmail.com> Subject: [alsa-devel] [PATCH 4/5] ALSA: sparc: constify snd_timer_hardware structure 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" <alsa-devel.alsa-project.org> List-Unsubscribe: <http://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <http://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/sound/sparc/cs4231.c b/sound/sparc/cs4231.c index 3d7d425..0a97e97 100644 --- a/sound/sparc/cs4231.c +++ b/sound/sparc/cs4231.c @@ -868,7 +868,7 @@ static int snd_cs4231_timer_close(struct snd_timer *timer) return 0; } -static struct snd_timer_hardware snd_cs4231_timer_table = { +static const struct snd_timer_hardware snd_cs4231_timer_table = { .flags = SNDRV_TIMER_HW_AUTO, .resolution = 9945, .ticks = 65535,
Declare snd_timer_hardware structure as const as it is only used during a copy operation. As it is not modified anywhere, it can be made const. Cross compiled for sparc architecture. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> --- sound/sparc/cs4231.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)