提交 7b1d4185 编写于 作者: T Thierry Reding

gpu: host1x: Set OF node for new host1x devices

We use the OF node of the host1x device's parent because it's the
closest we have.
Signed-off-by: NThierry Reding <treding@nvidia.com>
上级 7ce7d89f
......@@ -399,6 +399,7 @@ static int host1x_device_add(struct host1x *host1x,
dev_set_name(&device->dev, "%s", driver->driver.name);
of_dma_configure(&device->dev, host1x->dev->of_node);
device->dev.release = host1x_device_release;
device->dev.of_node = host1x->dev->of_node;
device->dev.bus = &host1x_bus_type;
device->dev.parent = host1x->dev;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册