]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/alsa/alsa-driver/adriver.h.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / alsa / alsa-driver / adriver.h.patch
1 --- ./include/adriver.h.orig    2003-09-22 22:04:21.000000000 +0200
2 +++ ./include/adriver.h   2005-06-26 10:33:15.000000000 +0200
3 @@ -328,8 +328,18 @@
4  #endif /* SND_NEED_USB_WRAPPER && CONFIG_USB */
5  
6  /* workqueue-alike; 2.5.45 */
7 -#include <linux/workqueue.h>
8 +#include <linux/workqueue.h> 
9  #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 45) && !defined(__WORK_INITIALIZER)
10 +#ifdef work_struct
11 +#undef work_struct
12 +#endif
13 +#ifdef INIT_WORK
14 +#undef INIT_WORK
15 +#endif
16 +#ifdef schedule_work
17 +#undef schedule_work
18 +#endif
19 +
20  struct work_struct {
21         void (*func)(void *);
22         void *data;
23