170-bus_id_removal.patch 448 B

12345678910111213141516171819
  1. --- a/tn7dsl.c
  2. +++ b/tn7dsl.c
  3. @@ -492,7 +492,6 @@ static void avsar_release(struct device
  4. }
  5. static struct device avsar = {
  6. - .bus_id = "vlynq",
  7. .release = avsar_release,
  8. };
  9. @@ -501,6 +500,8 @@ int shim_osLoadFWImage(unsigned char *pt
  10. const struct firmware *fw_entry;
  11. size_t size;
  12. + dev_set_name(&avsar, "avsar");
  13. +
  14. printk("requesting firmware image \"ar0700xx.bin\"\n");
  15. if(device_register(&avsar) < 0) {
  16. printk(KERN_ERR