--- zzzz-none-000/linux-3.10.107/drivers/usb/c67x00/c67x00-drv.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/usb/c67x00/c67x00-drv.c 2021-02-04 17:41:59.000000000 +0000 @@ -131,7 +131,7 @@ if (!res2) return -ENODEV; - pdata = pdev->dev.platform_data; + pdata = dev_get_platdata(&pdev->dev); if (!pdata) return -ENODEV; @@ -154,7 +154,7 @@ spin_lock_init(&c67x00->hpi.lock); c67x00->hpi.regstep = pdata->hpi_regstep; - c67x00->pdata = pdev->dev.platform_data; + c67x00->pdata = dev_get_platdata(&pdev->dev); c67x00->pdev = pdev; c67x00_ll_init(c67x00); @@ -221,7 +221,6 @@ .probe = c67x00_drv_probe, .remove = c67x00_drv_remove, .driver = { - .owner = THIS_MODULE, .name = "c67x00", }, };