[package] mac80211: fix order of iw parameters, fix broken antenna config call
[openwrt.git] / package / ar7-atm / patches-D7.04.03.00 / 180-git_headers_include.patch
1 diff -urN sangam_atm-D7.04.03.00/tn7atm.c sangam_atm-D7.04.03.00.new/tn7atm.c
2 --- sangam_atm-D7.04.03.00/tn7atm.c 2009-08-11 19:15:07.000000000 +0200
3 +++ sangam_atm-D7.04.03.00.new/tn7atm.c 2009-08-11 19:16:41.000000000 +0200
4 @@ -71,10 +71,16 @@
5 #include <linux/proc_fs.h>
6 #include <linux/string.h>
7 #include <linux/ctype.h>
8 +#include <linux/version.h>
9
10 #include <asm/io.h>
11 +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31)
12 #include <asm/ar7/ar7.h>
13 #include <asm/ar7/prom.h>
14 +#else
15 +#include <asm/mach-ar7/ar7.h>
16 +#include <asm/mach-ar7/prom.h>
17 +#endif
18
19 #include "dsl_hal_api.h"
20 #include "tn7atm.h"
21 diff -urN sangam_atm-D7.04.03.00/tn7dsl.c sangam_atm-D7.04.03.00.new/tn7dsl.c
22 --- sangam_atm-D7.04.03.00/tn7dsl.c 2009-08-11 19:15:07.000000000 +0200
23 +++ sangam_atm-D7.04.03.00.new/tn7dsl.c 2009-08-11 19:17:20.000000000 +0200
24 @@ -112,8 +112,13 @@
25 #include <linux/version.h>
26
27 #include <asm/io.h>
28 +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31)
29 #include <asm/ar7/ar7.h>
30 #include <asm/ar7/prom.h>
31 +#else
32 +#include <asm/mach-ar7/ar7.h>
33 +#include <asm/mach-ar7/prom.h>
34 +#endif
35
36 /* Modules specific header files */
37 #include "tn7atm.h"
38 diff -urN sangam_atm-D7.04.03.00/tn7sar.c sangam_atm-D7.04.03.00.new/tn7sar.c
39 --- sangam_atm-D7.04.03.00/tn7sar.c 2009-08-11 19:15:07.000000000 +0200
40 +++ sangam_atm-D7.04.03.00.new/tn7sar.c 2009-08-11 19:18:04.000000000 +0200
41 @@ -52,10 +52,16 @@
42 #include <linux/proc_fs.h>
43 #include <linux/string.h>
44 #include <linux/ctype.h>
45 +#include <linux/version.h>
46
47 #include <asm/io.h>
48 +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31)
49 #include <asm/ar7/ar7.h>
50 #include <asm/ar7/prom.h>
51 +#else
52 +#include <asm/mach-ar7/ar7.h>
53 +#include <asm/mach-ar7/prom.h>
54 +#endif
55
56 #define _CPHAL_AAL5
57 #define _CPHAL_SAR
This page took 0.050385 seconds and 5 git commands to generate.