Update of /cvsroot/alsa/alsa-driver/acore
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23997
Modified Files:
sound.patch
Log Message:
A new attempt to resolve the sound class problem
Index: sound.patch
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/acore/sound.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sound.patch 30 May 2003 13:37:41 -0000 1.1
+++ sound.patch 27 Jan 2004 20:52:13 -0000 1.2
@@ -1,6 +1,18 @@
---- sound.c 2003-05-30 15:29:14.000000000 +0200
-+++ sound.c.old 2003-05-30 15:30:11.000000000 +0200
-@@ -154,7 +154,9 @@
+--- sound.c.old 2004-01-27 21:50:32.000000000 +0100
++++ sound.c 2004-01-27 21:52:04.000000000 +0100
+@@ -69,7 +69,11 @@
+
+ static DECLARE_MUTEX(sound_mutex);
+
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 2)
+ extern struct class_simple *sound_class;
++#else
++#define sound_class NULL
++#endif
+
+
+ #ifdef CONFIG_KMOD
+@@ -165,7 +169,9 @@
struct file_operations snd_fops =
{
@@ -10,7 +22,7 @@
.open = snd_open
};
-@@ -364,6 +366,9 @@
+@@ -378,6 +384,9 @@
#ifndef MODULE
printk(KERN_INFO "Advanced Linux Sound Architecture Driver Version "
CONFIG_SND_VERSION CONFIG_SND_DATE ".\n");
#endif
@@ -20,7 +32,7 @@
return 0;
}
-@@ -378,6 +383,9 @@
+@@ -394,6 +403,9 @@
snd_info_minor_unregister();
#endif
snd_info_done();
@@ -30,7 +42,7 @@
#ifdef CONFIG_SND_DEBUG_MEMORY
snd_memory_done();
#endif
-@@ -490,3 +498,5 @@
+@@ -524,3 +536,5 @@
EXPORT_SYMBOL(snd_wrapper_vmalloc);
EXPORT_SYMBOL(snd_wrapper_vfree);
#endif
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog