Commit 642b7589 authored by Arvind Yadav's avatar Arvind Yadav Committed by Takashi Iwai

ALSA : pcsp: pcsp_lib: constify snd_pcsp_playback_ops

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: default avatarArvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 7802fb52
...@@ -323,7 +323,7 @@ static int snd_pcsp_playback_open(struct snd_pcm_substream *substream) ...@@ -323,7 +323,7 @@ static int snd_pcsp_playback_open(struct snd_pcm_substream *substream)
return 0; 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, .open = snd_pcsp_playback_open,
.close = snd_pcsp_playback_close, .close = snd_pcsp_playback_close,
.ioctl = snd_pcm_lib_ioctl, .ioctl = snd_pcm_lib_ioctl,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment