fix alsa snd_fops problem (#1426)
authorFelix Fietkau <nbd@openwrt.org>
Wed, 11 Jul 2007 10:19:29 +0000 (10:19 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 11 Jul 2007 10:19:29 +0000 (10:19 +0000)
SVN-Revision: 7913

package/alsa/patches/120-sndfops.patch [new file with mode: 0644]

diff --git a/package/alsa/patches/120-sndfops.patch b/package/alsa/patches/120-sndfops.patch
new file mode 100644 (file)
index 0000000..bc43eb5
--- /dev/null
@@ -0,0 +1,13 @@
+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