]> Git Repo - linux.git/commit
rpmsg: Move the rpmsg control device from rpmsg_char to rpmsg_ctrl
authorArnaud Pouliquen <[email protected]>
Mon, 24 Jan 2022 10:25:16 +0000 (11:25 +0100)
committerBjorn Andersson <[email protected]>
Sun, 13 Mar 2022 16:49:53 +0000 (11:49 -0500)
commit617d32938d1be0d67bad73a914635bf787c319c1
tree0e46c37cf8830455ef805aaf6e82908135c1ee37
parent608edd96049b142de7944413cd7c24cb3f203d37
rpmsg: Move the rpmsg control device from rpmsg_char to rpmsg_ctrl

Create the rpmsg_ctrl.c module and move the code related to the
rpmsg_ctrldev device in this new module.

Add the dependency between rpmsg_char and rpmsg_ctrl in the
kconfig file:

1) RPMSG_CTRL can set as module or built-in if
  RPMSG=y || RPMSG_CHAR=y || RPMSG_CHAR=n

2) RPMSG_CTRL can not be set as built-in if
   RPMSG=m || RPMSG_CHAR=m

Note that RPMGH_CHAR and RPMSG_CTRL can be activated separately.
Therefore, the RPMSG_CTRL configuration must be set for backwards compatibility.

Signed-off-by: Arnaud Pouliquen <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
drivers/rpmsg/Kconfig
drivers/rpmsg/Makefile
drivers/rpmsg/rpmsg_char.c
drivers/rpmsg/rpmsg_ctrl.c [new file with mode: 0644]
This page took 0.054868 seconds and 4 git commands to generate.