aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/ar7-atm/patches-D7.05.01.00/170-bus_id_removal.patch
blob: 53767e45bec173549b6365f1afe60de2ff82d88b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/tn7dsl.c
+++ b/tn7dsl.c
@@ -492,7 +492,6 @@ static void avsar_release(struct device
 }
 
 static struct device avsar = {
-	.bus_id    = "vlynq",
 	.release   = avsar_release,
 };
 
@@ -501,6 +500,8 @@ int shim_osLoadFWImage(unsigned char *pt
 	const struct firmware *fw_entry;
 	size_t size;
 
+	dev_set_name(&avsar, "avsar");
+
 	printk("requesting firmware image \"ar0700xx.bin\"\n");
 	if(device_register(&avsar) < 0) {
 		printk(KERN_ERR