X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=sound%2Fpci%2Fnm256%2Fnm256.c;h=103fe311e5a9827a6fba13e54d035f736b69370d;hb=9d2f8c14357a68427dbb679642dc704b74dd6166;hp=4735e27cc773688fe672a9bc7f609b3b38be85e4;hpb=8dd0eb3566711d81bfbe2b4421b33f0dd723cec4;p=deliverable%2Flinux.git diff --git a/sound/pci/nm256/nm256.c b/sound/pci/nm256/nm256.c index 4735e27cc773..103fe311e5a9 100644 --- a/sound/pci/nm256/nm256.c +++ b/sound/pci/nm256/nm256.c @@ -902,7 +902,7 @@ snd_nm256_capture_close(struct snd_pcm_substream *substream) /* * create a pcm instance */ -static struct snd_pcm_ops snd_nm256_playback_ops = { +static const struct snd_pcm_ops snd_nm256_playback_ops = { .open = snd_nm256_playback_open, .close = snd_nm256_playback_close, .ioctl = snd_pcm_lib_ioctl, @@ -917,7 +917,7 @@ static struct snd_pcm_ops snd_nm256_playback_ops = { .mmap = snd_pcm_lib_mmap_iomem, }; -static struct snd_pcm_ops snd_nm256_capture_ops = { +static const struct snd_pcm_ops snd_nm256_capture_ops = { .open = snd_nm256_capture_open, .close = snd_nm256_capture_close, .ioctl = snd_pcm_lib_ioctl,