wl1251: Fix queue stopping/waking for TX path
[pandora-wifi.git] / include / linux / compat-2.6.30.h
1 #ifndef LINUX_26_30_COMPAT_H
2 #define LINUX_26_30_COMPAT_H
3
4 #include <linux/version.h>
5
6 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30))
7
8 #ifndef TP_PROTO
9 #define TP_PROTO(args...)       TPPROTO(args)
10 #endif
11 #ifndef TP_ARGS
12 #define TP_ARGS(args...)        TPARGS(args)
13 #endif
14
15 #define IRQ_WAKE_THREAD (2)
16
17 /* From : include/linux/pm.h */
18 /* How to reorder dpm_list after device_move() */
19 enum dpm_order {
20         DPM_ORDER_NONE,
21         DPM_ORDER_DEV_AFTER_PARENT,
22         DPM_ORDER_PARENT_BEFORE_DEV,
23         DPM_ORDER_DEV_LAST,
24 };
25
26 #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)) */
27
28 #endif /* LINUX_26_30_COMPAT_H */