summaryrefslogtreecommitdiff
path: root/packages/alsa/alsa-driver/adriver.h.patch
blob: cd648838c0beb7fe37876a636e399fa950c4f2c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- ./include/adriver.h.orig    2003-09-22 22:04:21.000000000 +0200
+++ ./include/adriver.h   2005-06-26 10:33:15.000000000 +0200
@@ -328,8 +328,18 @@
 #endif /* SND_NEED_USB_WRAPPER && CONFIG_USB */
 
 /* workqueue-alike; 2.5.45 */
-#include <linux/workqueue.h>
+#include <linux/workqueue.h> 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 45) && !defined(__WORK_INITIALIZER)
+#ifdef work_struct
+#undef work_struct
+#endif
+#ifdef INIT_WORK
+#undef INIT_WORK
+#endif
+#ifdef schedule_work
+#undef schedule_work
+#endif
+
 struct work_struct {
        void (*func)(void *);
        void *data;