summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tegra/bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/tegra/bus.c')
-rw-r--r--drivers/gpu/drm/tegra/bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tegra/bus.c b/drivers/gpu/drm/tegra/bus.c
index e38e5967d77b..71cef5c13dc8 100644
--- a/drivers/gpu/drm/tegra/bus.c
+++ b/drivers/gpu/drm/tegra/bus.c
@@ -63,7 +63,7 @@ int drm_host1x_init(struct drm_driver *driver, struct host1x_device *device)
return 0;
err_free:
- drm_dev_free(drm);
+ drm_dev_unref(drm);
return ret;
}