From patchwork Thu Aug 17 09:15:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhumika Goyal X-Patchwork-Id: 9905427 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 2AFE960244 for ; Thu, 17 Aug 2017 09:20:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2C12B285FF for ; Thu, 17 Aug 2017 09:20:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 20B7D28824; Thu, 17 Aug 2017 09:20:43 +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=-4.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,RCVD_IN_DNSWL_HI,RCVD_IN_SORBS_SPAM, RCVD_IN_SORBS_WEB,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 D2047285FF for ; Thu, 17 Aug 2017 09:20:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751730AbdHQJQk (ORCPT ); Thu, 17 Aug 2017 05:16:40 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:36533 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751711AbdHQJQi (ORCPT ); Thu, 17 Aug 2017 05:16:38 -0400 Received: by mail-pg0-f66.google.com with SMTP id y129so8925083pgy.3; Thu, 17 Aug 2017 02:16:38 -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=hyI+ieO1vWxrefWBvumBAlC/wCibsDGypUyHaLYIcCY=; b=jtrfeAm30Bt+M+2EFkfg5dhAdYPjBqDoNJ1Kzk2LzIUKWliCnr5kRHfKVbn0WMDSag GqoDIQSiB9sAl07w5nlhGSmHZ/SAgpARt7tjPHfE+dITL0gSSEc9uP5bxPx4UMPUi1zx 64l1Y3KUgYuQiyN0qCda71tN0XIysxHDuaGSG6rItlThtagVn5UjrAitq+Kj7IyhdOlR 9yzo84cKsTqzqGD87fGnCmmPUzOIcV6rT+rvFLfm/AvTCRG7hoiwV+4GBmLELgh5xn+/ lbVyPNkR2WfxQIQI+CyJkh8nsbYZEnn4KQ+c8TacZXz671MWfdafH3ahE9NqHsiIkU1k ueoQ== 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=hyI+ieO1vWxrefWBvumBAlC/wCibsDGypUyHaLYIcCY=; b=EBhZmwNDY769XMHb11UOAiv0MsJvQujylGy8eRWyAjmWIwQMCLE5XigYOQbXRR1jrc ktcK/v76QKUNqeBIpWqCnKngZu8YMY7Xx1qKfZ12j/HuwB/FHuMHAjES6wfWlgbPJsyK g/8y5J6ZKxSsL/ajf4recV0iCu8mxGTgTaQgEaPMcKksGdyoNXJw0CmkYwqlSqg8GOMG fmpA4r8c8dRDy2Z9SBDwlKRt9COtb/Nd4enXP9n1Me8iH9EVi8mlwcq9kUGAlHGIVr6A uR3GjbANenak6xhtvrs1PzpeFCnGK4Rv2GaKUymMvFGEeBZjcrDMfEvwHfLm/DkIYkHB LQGA== X-Gm-Message-State: AHYfb5jDqseYbGrQuYhSORJC8jdqhLbStoIbLG/CggF+8JkmedwTrTB6 Pc3fYM0xMHwQtA== X-Received: by 10.98.129.197 with SMTP id t188mr4472308pfd.318.1502961397932; Thu, 17 Aug 2017 02:16:37 -0700 (PDT) Received: from gmail.com ([117.196.97.196]) by smtp.gmail.com with ESMTPSA id r25sm5568192pgu.7.2017.08.17.02.16.32 (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 17 Aug 2017 02:16:37 -0700 (PDT) Received: by gmail.com (sSMTP sendmail emulation); Thu, 17 Aug 2017 14:46:29 +0530 From: Bhumika Goyal To: julia.lawall@lip6.fr, linux@armlinux.org.uk, perex@perex.cz, tiwai@suse.com, benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Cc: Bhumika Goyal Subject: [PATCH 01/12] ALSA: arm: make snd_pcm_hardware const Date: Thu, 17 Aug 2017 14:45:49 +0530 Message-Id: <1502961360-22063-2-git-send-email-bhumirks@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502961360-22063-1-git-send-email-bhumirks@gmail.com> References: <1502961360-22063-1-git-send-email-bhumirks@gmail.com> Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Make this const as it is only used in a copy operation. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- sound/arm/aaci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/arm/aaci.c b/sound/arm/aaci.c index 4140b1b..74cf452 100644 --- a/sound/arm/aaci.c +++ b/sound/arm/aaci.c @@ -348,7 +348,7 @@ static irqreturn_t aaci_irq(int irq, void *devid) /* * ALSA support. */ -static struct snd_pcm_hardware aaci_hw_info = { +static const struct snd_pcm_hardware aaci_hw_info = { .info = SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_MMAP_VALID | SNDRV_PCM_INFO_INTERLEAVED |