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
5 #include <linux/proc_fs.h>
6 #include <linux/string.h>
7 #include <linux/ctype.h>
8 +#include <linux/version.h>
11 +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31)
12 #include <asm/ar7/ar7.h>
13 #include <asm/ar7/prom.h>
15 +#include <asm/mach-ar7/ar7.h>
16 +#include <asm/mach-ar7/prom.h>
19 #include "dsl_hal_api.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
25 #include <linux/version.h>
28 +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31)
29 #include <asm/ar7/ar7.h>
30 #include <asm/ar7/prom.h>
32 +#include <asm/mach-ar7/ar7.h>
33 +#include <asm/mach-ar7/prom.h>
36 /* Modules specific header files */
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
42 #include <linux/proc_fs.h>
43 #include <linux/string.h>
44 #include <linux/ctype.h>
45 +#include <linux/version.h>
48 +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31)
49 #include <asm/ar7/ar7.h>
50 #include <asm/ar7/prom.h>
52 +#include <asm/mach-ar7/ar7.h>
53 +#include <asm/mach-ar7/prom.h>