summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOctavian Purdila <octavian.purdila@nxp.com>2017-04-18 18:11:59 +0300
committerLeonard Crestez <leonard.crestez@nxp.com>2018-08-24 12:41:33 +0300
commit6313ba82080813a0c09e86fc69bac0240de7f562 (patch)
tree30e08ea8586a9b135fba0424e7951dcdf134f68f
parentcadcada88ac02fe75c6ae3e90b146ee592575d92 (diff)
MLK-14659 rpmsg: imx: tty: restore support for imx7d
Commit 2a596c353234 ("MLK-13981-2 rpmsg: imx: enable rpmsg virt tty") enabled support for imx7ulp but it broke support for imx7d since the currently distributed M4 image for imx7d still uses the old "rpmsg-openamp-demo-channel" naming. While we could change the channel name in the M4 image it is better to maintain backwards compatibility, so add the old naming back to the id table. Signed-off-by: Octavian Purdila <octavian.purdila@nxp.com>
-rw-r--r--drivers/rpmsg/imx_rpmsg_tty.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rpmsg/imx_rpmsg_tty.c b/drivers/rpmsg/imx_rpmsg_tty.c
index 3545fd2c6e6b..42b245db3d5a 100644
--- a/drivers/rpmsg/imx_rpmsg_tty.c
+++ b/drivers/rpmsg/imx_rpmsg_tty.c
@@ -207,6 +207,7 @@ static void rpmsg_tty_remove(struct rpmsg_device *rpdev)
static struct rpmsg_device_id rpmsg_driver_tty_id_table[] = {
{ .name = "rpmsg-virtual-tty-channel" },
+ { .name = "rpmsg-openamp-demo-channel" },
{ },
};
MODULE_DEVICE_TABLE(rpmsg, rpmsg_driver_tty_id_table);