mirror of
https://github.com/torvalds/linux.git
synced 2026-06-09 07:03:37 +02:00
drm: rockchip: should set unique in bind
It was dropped when merge upstream patch Change-Id: I6f1464866c8b6f50fe65733cff42215bd4357e82 Signed-off-by: Jacob Chen <jacob2.chen@rock-chips.com>
This commit is contained in:
parent
81057d22ee
commit
090133baa3
|
|
@ -847,6 +847,10 @@ static int rockchip_drm_bind(struct device *dev)
|
|||
if (!drm_dev)
|
||||
return -ENOMEM;
|
||||
|
||||
ret = drm_dev_set_unique(drm_dev, "%s", dev_name(dev));
|
||||
if (ret)
|
||||
goto err_free;
|
||||
|
||||
dev_set_drvdata(dev, drm_dev);
|
||||
|
||||
private = devm_kzalloc(drm_dev->dev, sizeof(*private), GFP_KERNEL);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user