1 Index: sangam_atm-D7.05.01.00/tn7dsl.c
2 ===================================================================
3 --- sangam_atm-D7.05.01.00.orig/tn7dsl.c 2010-03-07 18:18:39.000000000 +0100
4 +++ sangam_atm-D7.05.01.00/tn7dsl.c 2010-03-07 18:19:04.000000000 +0100
6 #include <linux/vmalloc.h>
7 #include <linux/file.h>
8 #include <linux/firmware.h>
9 +#include <linux/version.h>
12 #include <asm/ar7/ar7.h>
16 static struct device avsar = {
17 +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
20 .release = avsar_release,
24 const struct firmware *fw_entry;
27 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,30)
28 + dev_set_name(&avsar, "avsar");
30 printk("requesting firmware image \"ar0700xx.bin\"\n");
31 if(device_register(&avsar) < 0) {