889b21f954
Minimum supported kernel is 3.18, so we don't need to test for anything older. In addition, the API hasn't changed since then, so we don't need to check for any kernel version at all. This helps to keeps the amount of changes more managable. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
19 lines
448 B
Diff
19 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
|