generic-poky/openembedded/packages/orinoco/orinoco-modules-0.15rc2/list-move.patch

23 lines
596 B
Diff

#
# 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)
{