1 Index: sangam_atm-D7.05.01.00/tn7atm.c
2 ===================================================================
3 --- sangam_atm-D7.05.01.00.orig/tn7atm.c 2010-03-07 18:16:20.000000000 +0100
4 +++ sangam_atm-D7.05.01.00/tn7atm.c 2010-03-07 18:19:09.000000000 +0100
6 #include <linux/proc_fs.h>
7 #include <linux/string.h>
8 #include <linux/ctype.h>
9 +#include <linux/version.h>
12 +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31)
13 #include <asm/ar7/ar7.h>
14 #include <asm/ar7/prom.h>
16 +#include <asm/mach-ar7/ar7.h>
17 +#include <asm/mach-ar7/prom.h>
20 #include "dsl_hal_api.h"
22 Index: sangam_atm-D7.05.01.00/tn7dsl.c
23 ===================================================================
24 --- sangam_atm-D7.05.01.00.orig/tn7dsl.c 2010-03-07 18:19:04.000000000 +0100
25 +++ sangam_atm-D7.05.01.00/tn7dsl.c 2010-03-07 18:19:09.000000000 +0100
27 #include <linux/version.h>
30 +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31)
31 #include <asm/ar7/ar7.h>
32 #include <asm/ar7/prom.h>
34 +#include <asm/mach-ar7/ar7.h>
35 +#include <asm/mach-ar7/prom.h>
38 /* Modules specific header files */
40 Index: sangam_atm-D7.05.01.00/tn7sar.c
41 ===================================================================
42 --- sangam_atm-D7.05.01.00.orig/tn7sar.c 2010-03-07 18:10:13.000000000 +0100
43 +++ sangam_atm-D7.05.01.00/tn7sar.c 2010-03-07 18:19:09.000000000 +0100
45 #include <linux/proc_fs.h>
46 #include <linux/string.h>
47 #include <linux/ctype.h>
48 +#include <linux/version.h>
51 +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31)
52 #include <asm/ar7/ar7.h>
53 #include <asm/ar7/prom.h>
55 +#include <asm/mach-ar7/ar7.h>
56 +#include <asm/mach-ar7/prom.h>