diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2017-07-26 18:53:44 +0200 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2017-07-26 18:59:27 +0200 |
commit | aaafb24ebe2517ae9ec06008f2b0375bea77124d (patch) | |
tree | b658561e130dd498a7cbe411daefe3b8d4cd1c53 /drivers/rpmsg/qcom_smd.c | |
parent | Linux v4.13-rc1 (diff) | |
download | linux-aaafb24ebe2517ae9ec06008f2b0375bea77124d.tar.xz linux-aaafb24ebe2517ae9ec06008f2b0375bea77124d.zip |
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: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/rpmsg/qcom_smd.c')
-rw-r--r-- | drivers/rpmsg/qcom_smd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rpmsg/qcom_smd.c b/drivers/rpmsg/qcom_smd.c index a0a39a8821a3..b01774e9fac0 100644 --- a/drivers/rpmsg/qcom_smd.c +++ b/drivers/rpmsg/qcom_smd.c @@ -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); |