summaryrefslogtreecommitdiff
path: root/recipes/orinoco/orinoco-modules-0.15rc1/list-move.patch
blob: cd8bec0ec2a3a827eaf8ed166f5ca586886e73af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#

--- orinoco-0.15rc1/kcompat.h~list-move.patch	2004-04-19 07:08:24.000000000 +0200
+++ orinoco-0.15rc1/kcompat.h	2004-06-15 19:16:17.000000000 +0200
@@ -39,13 +39,12 @@
 typedef void irqreturn_t;
 #endif
 
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,4,20))
+#if 0
 static inline void list_move(struct list_head *list, struct list_head *head)
 {
         __list_del(list->prev, list->next);
         list_add(list, head);
 }
-
 static inline void list_move_tail(struct list_head *list,
 				  struct list_head *head)
 {