Update of /cvsroot/alsa/alsa-driver/include
In directory sc8-pr-cvs1:/tmp/cvs-serv10840/include
Modified Files:
adriver.h
Log Message:
- added snd_card_set_dev() macro.
- sysfsfied more pci, isapnp and usb drivers.
Index: adriver.h
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/include/adriver.h,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -r1.66 -r1.67
--- adriver.h 20 Jan 2004 16:32:10 -0000 1.66
+++ adriver.h 21 Jan 2004 18:33:32 -0000 1.67
@@ -420,8 +420,8 @@
#define pci_set_consistent_dma_mask(p,x) 0 /* success */
#endif
-/* devfs */
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 0)
+/* sysfs */
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 2)
struct class_simple;
static inline void class_simple_device_add(struct class_simple *class, int devnum,
...) { return; }
static inline void class_simple_device_remove(int devnum) { return; }
@@ -429,4 +429,8 @@
#include "amagic.h"
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0)
+#define snd_card_set_dev(card,dev) /* no struct device */
+#endif
+
#endif /* __SOUND_LOCAL_DRIVER_H */
-------------------------------------------------------
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