fix alsa snd_fops problem (#1426)
[openwrt-10.03/.git] / package / alsa / patches / 120-sndfops.patch
1 Index: alsa-driver-1.0.14rc1/alsa-kernel/core/sound.c
2 ===================================================================
3 --- alsa-driver-1.0.14rc1.orig/alsa-kernel/core/sound.c 2007-07-11 12:15:11.408530571 +0200
4 +++ alsa-driver-1.0.14rc1/alsa-kernel/core/sound.c      2007-07-11 12:15:26.421386105 +0200
5 @@ -171,7 +171,7 @@
6         return err;
7  }
8  
9 -static struct file_operations snd_fops =
10 +struct file_operations snd_fops =
11  {
12         .owner =        THIS_MODULE,
13         .open =         snd_open