ALSA: constify snd_pcm_ops structures
[deliverable/linux.git] / sound / pci / lx6464es / lx6464es.c
index 8b8e2e54fba3f1520d3ed6c6f22185274ca6ae5b..c0f0c349c3ec19fd26ab3955e1a202d9796f611b 100644 (file)
@@ -804,7 +804,7 @@ mac_ready:
        return err;
 }
 
-static struct snd_pcm_ops lx_ops_playback = {
+static const struct snd_pcm_ops lx_ops_playback = {
        .open      = lx_pcm_open,
        .close     = lx_pcm_close,
        .ioctl     = snd_pcm_lib_ioctl,
@@ -815,7 +815,7 @@ static struct snd_pcm_ops lx_ops_playback = {
        .pointer   = lx_pcm_stream_pointer,
 };
 
-static struct snd_pcm_ops lx_ops_capture = {
+static const struct snd_pcm_ops lx_ops_capture = {
        .open      = lx_pcm_open,
        .close     = lx_pcm_close,
        .ioctl     = snd_pcm_lib_ioctl,
This page took 0.054339 seconds and 5 git commands to generate.