]> err.no Git - linux-2.6/blobdiff - sound/core/sound_oss.c
[LLC]: Fix double receive of SKB.
[linux-2.6] / sound / core / sound_oss.c
index 4023d3b406de2c22613bcfc6811e4c83193584cd..9055c6de95875d4b199dce59b0db0b1fe5737ed6 100644 (file)
@@ -95,7 +95,7 @@ static int snd_oss_kernel_minor(int type, struct snd_card *card, int dev)
 }
 
 int snd_register_oss_device(int type, struct snd_card *card, int dev,
-                           struct file_operations *f_ops, void *private_data,
+                           const struct file_operations *f_ops, void *private_data,
                            const char *name)
 {
        int minor = snd_oss_kernel_minor(type, card, dev);