projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a51a6ea
)
MLK-14487-2 rpmsg: imx: validate the rpmsg on imx7ulp
author
Richard Zhu
<hongxing.zhu@nxp.com>
Tue, 21 Mar 2017 02:17:36 +0000
(10:17 +0800)
committer
Nitin Garg
<nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:21:37 +0000
(15:21 -0500)
- add the .data into the imx_rpmsg_dt_ids table, thus
the driver can distinguish the different platforms.
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Tested-by: Daniel Baluta <daniel.baluta@nxp.com>
drivers/rpmsg/imx_rpmsg.c
patch
|
blob
|
history
diff --git
a/drivers/rpmsg/imx_rpmsg.c
b/drivers/rpmsg/imx_rpmsg.c
index
6cdf96a
..
c171a2f
100644
(file)
--- a/
drivers/rpmsg/imx_rpmsg.c
+++ b/
drivers/rpmsg/imx_rpmsg.c
@@
-336,9
+336,9
@@
static struct imx_rpmsg_vproc imx_rpmsg_vprocs[] = {
};
static const struct of_device_id imx_rpmsg_dt_ids[] = {
- { .compatible = "fsl,imx6sx-rpmsg", },
- { .compatible = "fsl,imx7d-rpmsg", },
- { .compatible = "fsl,imx7ulp-rpmsg", },
+ { .compatible = "fsl,imx6sx-rpmsg",
.data = (void *)IMX6SX,
},
+ { .compatible = "fsl,imx7d-rpmsg",
.data = (void *)IMX7D,
},
+ { .compatible = "fsl,imx7ulp-rpmsg",
.data = (void *)IMX7ULP,
},
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, imx_rpmsg_dt_ids);