1 Index: sangam_atm-D7.04.03.00/tn7atm.c
2 ===================================================================
3 --- sangam_atm-D7.04.03.00.orig/tn7atm.c 2011-02-18 13:36:12.000000000 +0100
4 +++ sangam_atm-D7.04.03.00/tn7atm.c 2011-02-18 13:36:21.268956988 +0100
7 dgprintf (4, "device %s being registered\n", priv->name);
9 + #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37)
10 mydev = atm_dev_register (priv->proc_name, &tn7atm_ops, -1, NULL);
12 + mydev = atm_dev_register (priv->proc_name, NULL, &tn7atm_ops, -1, NULL);
17 Index: sangam_atm-D7.04.03.00/tn7dsl.c
18 ===================================================================
19 --- sangam_atm-D7.04.03.00.orig/tn7dsl.c 2011-02-18 13:36:12.000000000 +0100
20 +++ sangam_atm-D7.04.03.00/tn7dsl.c 2011-02-18 13:37:41.678957013 +0100
23 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) {
32 + dev_set_name(&avsar, "avsar");
33 + ret = device_register(&avsar);
36 - "avsar: device_register fails\n");
37 + "avsar: device_register fails, error%i\n", ret);