]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/wlan-ng/wlan-ng-modules-0.2.2/no-compat.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / wlan-ng / wlan-ng-modules-0.2.2 / no-compat.patch
1
2 #
3 # Patch managed by http://www.holgerschurig.de/patcher.html
4 #
5
6 --- linux-wlan-ng-0.2.1pre21/src/include/wlan/wlan_compat.h~no-compat
7 +++ linux-wlan-ng-0.2.1pre21/src/include/wlan/wlan_compat.h
8 @@ -351,14 +351,14 @@
9  
10  #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,4,20))
11  #ifdef _LINUX_LIST_H
12 -
13 +/*
14  static inline void list_move_tail(struct list_head *list,
15            struct list_head *head)
16  {
17          __list_del(list->prev, list->next);
18          list_add_tail(list, head);
19  }
20 -
21 +*/
22  static inline void __list_splice(struct list_head *list,
23                                  struct list_head *head)
24  {
25 @@ -372,13 +372,13 @@
26        last->next = at;
27        at->prev = last;
28  }
29 -
30 +/*
31  static inline void list_move(struct list_head *list, struct list_head *head)
32  {
33        __list_del(list->prev, list->next);
34        list_add(list, head);
35  }
36 -
37 +*/
38  static inline void list_splice_init(struct list_head *list,
39              struct list_head *head)
40  {
41 @@ -388,7 +388,6 @@
42         }
43  }
44  
45 -
46  #endif  // LIST_H
47  #endif