diff options
author | Octavian Purdila <octavian.purdila@nxp.com> | 2017-04-18 18:11:59 +0300 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:26:19 +0800 |
commit | e6b8e1c7e79b1c7d0ad13c6e85f070bd7cf5b394 (patch) | |
tree | e6bfdffa80aa4337ade3d51f3a588eaf0d1e01e4 /drivers/rpmsg | |
parent | 651ff1baf17b3ae31ab2e7cf0ff84368ed8aa91e (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>
Diffstat (limited to 'drivers/rpmsg')
-rw-r--r-- | drivers/rpmsg/imx_rpmsg_tty.c | 1 |
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); |