brcm47xx: remove old kernel
[openwrt.git] / package / ep80579-drivers / patches / 700-iegbe_kcompat_2.6.30.patch
1 --- a/Embedded/src/GbE/kcompat.h
2 +++ b/Embedded/src/GbE/kcompat.h
3 @@ -46,12 +46,6 @@ GPL LICENSE SUMMARY
4 #include <linux/sched.h>
5 #include <asm/io.h>
6
7 -#ifndef IRQ_HANDLED
8 -#define irqreturn_t void
9 -#define IRQ_HANDLED
10 -#define IRQ_NONE
11 -#endif
12 -
13 #ifndef SET_NETDEV_DEV
14 #define SET_NETDEV_DEV(net, pdev)
15 #endif
16 @@ -748,6 +742,15 @@ extern void dump_stack(void);
17
18 #endif /* 2.4.24 */
19
20 +/*****************************************************************************/
21 +#if ( LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30) )
22 +#ifndef IRQ_HANDLED
23 +#define irqreturn_t void
24 +#define IRQ_HANDLED
25 +#define IRQ_NONE
26 +#endif
27 +#endif /* < 2.6.30 */
28 +
29 #endif /* _KCOMPAT_H_ */
30
31
This page took 0.0457 seconds and 5 git commands to generate.