summaryrefslogtreecommitdiff
path: root/package/alsa/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-07-11 10:19:29 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-07-11 10:19:29 +0000
commita508408c0b8b671cb4eae6b25774de59f3f883af (patch)
tree7dc00468a38bb59348d2c47c99991a50a130108c /package/alsa/patches
parenta817b45169fafb4ec191ba786db0d9e34b130684 (diff)
downloadmtk-20170518-a508408c0b8b671cb4eae6b25774de59f3f883af.zip
mtk-20170518-a508408c0b8b671cb4eae6b25774de59f3f883af.tar.gz
mtk-20170518-a508408c0b8b671cb4eae6b25774de59f3f883af.tar.bz2
fix alsa snd_fops problem (#1426)
SVN-Revision: 7913
Diffstat (limited to 'package/alsa/patches')
-rw-r--r--package/alsa/patches/120-sndfops.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/alsa/patches/120-sndfops.patch b/package/alsa/patches/120-sndfops.patch
new file mode 100644
index 0000000..bc43eb5
--- /dev/null
+++ b/package/alsa/patches/120-sndfops.patch
@@ -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