openwrtv3/package/alsa/patches/120-sndfops.patch
Felix Fietkau a508408c0b fix alsa snd_fops problem (#1426)
SVN-Revision: 7913
2007-07-11 10:19:29 +00:00

13 lines
464 B
Diff

Index: alsa-driver-1.0.14rc1/alsa-kernel/core/sound.c
===================================================================
--- alsa-driver-1.0.14rc1.orig/alsa-kernel/core/sound.c 2007-07-11 12:15:11.408530571 +0200
+++ alsa-driver-1.0.14rc1/alsa-kernel/core/sound.c 2007-07-11 12:15:26.421386105 +0200
@@ -171,7 +171,7 @@
return err;
}
-static struct file_operations snd_fops =
+struct file_operations snd_fops =
{
.owner = THIS_MODULE,
.open = snd_open