From: Takashi Iwai <tiwai@suse.de>
To: "Arvind Yadav" <arvind.yadav.cs@gmail.com>
Cc: <perex@perex.cz>, <alsa-devel@alsa-project.org>,
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] ALSA : pcsp: pcsp_lib: constify snd_pcsp_playback_ops
Date: Fri, 09 Jun 2017 09:20:08 +0200 [thread overview]
Message-ID: <s5hd1ad1vbr.wl-tiwai@suse.de> (raw)
In-Reply-To: <0ef4f01bbb4cb6d9bea26845fbbcb087406f6798.1496988452.git.arvind.yadav.cs@gmail.com>
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 <arvind.yadav.cs@gmail.com>
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
>
>
prev parent reply other threads:[~2017-06-09 7:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-09 6:09 Arvind Yadav
2017-06-09 7:20 ` Takashi Iwai [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5hd1ad1vbr.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=arvind.yadav.cs@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@perex.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome