diff options
Diffstat (limited to 'drivers/edgetpu/abrolhos-platform.c')
-rw-r--r-- | drivers/edgetpu/abrolhos-platform.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/edgetpu/abrolhos-platform.c b/drivers/edgetpu/abrolhos-platform.c index a613b63..16e36dc 100644 --- a/drivers/edgetpu/abrolhos-platform.c +++ b/drivers/edgetpu/abrolhos-platform.c @@ -315,7 +315,8 @@ static int edgetpu_platform_probe(struct platform_device *pdev) } dev_dbg(dev, "Creating thermal device\n"); - abpdev->edgetpu_dev.thermal = devm_tpu_thermal_create(dev); + abpdev->edgetpu_dev.thermal = + devm_tpu_thermal_create(dev, &abpdev->edgetpu_dev); dev_info(dev, "%s edgetpu initialized. Build: %s\n", abpdev->edgetpu_dev.dev_name, GIT_REPO_TAG); |