Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751567AbdFIHUL (ORCPT ); Fri, 9 Jun 2017 03:20:11 -0400 Received: from mx2.suse.de ([195.135.220.15]:33991 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751519AbdFIHUK (ORCPT ); Fri, 9 Jun 2017 03:20:10 -0400 Date: Fri, 09 Jun 2017 09:20:08 +0200 Message-ID: From: Takashi Iwai To: "Arvind Yadav" Cc: , , Subject: Re: [PATCH] ALSA : pcsp: pcsp_lib: constify snd_pcsp_playback_ops In-Reply-To: <0ef4f01bbb4cb6d9bea26845fbbcb087406f6798.1496988452.git.arvind.yadav.cs@gmail.com> References: <0ef4f01bbb4cb6d9bea26845fbbcb087406f6798.1496988452.git.arvind.yadav.cs@gmail.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.2 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1079 Lines: 40 On Fri, 09 Jun 2017 08:09:56 +0200, Arvind Yadav wrote: > > File size before: > text data bss dec hex filename > 2027 168 1 2196 894 sound/drivers/pcsp/pcsp_lib.o > > File size After: > text data bss dec hex filename > 2155 40 1 2196 894 sound/drivers/pcsp/pcsp_lib.o > > Signed-off-by: Arvind Yadav Applied, thanks. Takashi > --- > sound/drivers/pcsp/pcsp_lib.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/sound/drivers/pcsp/pcsp_lib.c b/sound/drivers/pcsp/pcsp_lib.c > index aca2d7d..44b3632 100644 > --- a/sound/drivers/pcsp/pcsp_lib.c > +++ b/sound/drivers/pcsp/pcsp_lib.c > @@ -323,7 +323,7 @@ static int snd_pcsp_playback_open(struct snd_pcm_substream *substream) > return 0; > } > > -static struct snd_pcm_ops snd_pcsp_playback_ops = { > +static const struct snd_pcm_ops snd_pcsp_playback_ops = { > .open = snd_pcsp_playback_open, > .close = snd_pcsp_playback_close, > .ioctl = snd_pcm_lib_ioctl, > -- > 1.9.1 > >