openwrt/package/kernel/ar7-atm/patches-D7.04.03.00/170-bus_id_removal.patch

20 lines
448 B
Diff

--- a/tn7dsl.c
+++ b/tn7dsl.c
@@ -446,7 +446,6 @@ static void avsar_release(struct device
}
static struct device avsar = {
- .bus_id = "vlynq",
.release = avsar_release,
};
@@ -455,6 +454,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