Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1697373
| From | Bjorn Andersson <bjorn.andersson@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] rpmsg: qcom_smd: add of_node node to edge device |
| Date | 2017-07-26 19:10 +0200 |
| Message-ID | <u7xYT-37A-37@gated-at.bofh.it> (permalink) |
| References | <u7xPc-2P1-35@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed 26 Jul 09:53 PDT 2017, srinivas.kandagatla@linaro.org wrote: > From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> > > 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> Applied Thanks, Bjorn > --- > drivers/rpmsg/qcom_smd.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/rpmsg/qcom_smd.c b/drivers/rpmsg/qcom_smd.c > index a0a39a8..b01774e 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); > -- > 2.9.3 >
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] rpmsg: qcom_smd: add of_node node to edge device srinivas.kandagatla@linaro.org - 2017-07-26 19:00 +0200 Re: [PATCH] rpmsg: qcom_smd: add of_node node to edge device Bjorn Andersson <bjorn.andersson@linaro.org> - 2017-07-26 19:10 +0200
csiph-web