Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aaafb24e authored by Srinivas Kandagatla's avatar Srinivas Kandagatla Committed by Bjorn Andersson
Browse files

rpmsg: qcom_smd: add of_node node to edge device



This patch assigns the device node to the edge device, so that the edge
device drivers could read required device tree properties.

Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 5771a8c0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1368,6 +1368,7 @@ struct qcom_smd_edge *qcom_smd_register_edge(struct device *parent,

	edge->dev.parent = parent;
	edge->dev.release = qcom_smd_edge_release;
	edge->dev.of_node = node;
	edge->dev.groups = qcom_smd_edge_groups;
	dev_set_name(&edge->dev, "%s:%s", dev_name(parent), node->name);
	ret = device_register(&edge->dev);