4 #include <linux/proc_fs.h>
5 #include <linux/string.h>
6 #include <linux/ctype.h>
7 +#include <linux/version.h>
10 +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31)
11 #include <asm/ar7/ar7.h>
12 #include <asm/ar7/prom.h>
14 +#include <asm/mach-ar7/ar7.h>
15 +#include <asm/mach-ar7/prom.h>
18 #include "dsl_hal_api.h"
23 #include <linux/version.h>
26 +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31)
27 #include <asm/ar7/ar7.h>
28 #include <asm/ar7/prom.h>
30 +#include <asm/mach-ar7/ar7.h>
31 +#include <asm/mach-ar7/prom.h>
34 /* Modules specific header files */
39 #include <linux/proc_fs.h>
40 #include <linux/string.h>
41 #include <linux/ctype.h>
42 +#include <linux/version.h>
45 +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31)
46 #include <asm/ar7/ar7.h>
47 #include <asm/ar7/prom.h>
49 +#include <asm/mach-ar7/ar7.h>
50 +#include <asm/mach-ar7/prom.h>