diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-06-09 09:09:56 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-06-09 10:19:41 +0300 |
commit | 642b7589da26d59ce36f9a4b1b5188f95e514de9 (patch) | |
tree | 8cc91753050dc7b5555f8b663b5fa550e1db4527 /sound/drivers/pcsp | |
parent | 7802fb52564b5d6b4fdcf25a08d487897f9e4a8b (diff) | |
download | linux-642b7589da26d59ce36f9a4b1b5188f95e514de9.tar.xz |
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: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers/pcsp')
-rw-r--r-- | sound/drivers/pcsp/pcsp_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/drivers/pcsp/pcsp_lib.c b/sound/drivers/pcsp/pcsp_lib.c index aca2d7d5f059..44b3632f6940 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, |