rpmsg: char: Export eptdev create and destroy functions
authorArnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Mon, 24 Jan 2022 10:25:14 +0000 (11:25 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sun, 13 Mar 2022 16:49:53 +0000 (11:49 -0500)
commit69265bc12b6567c6aa9550a198b791e876fbfd2c
tree98b9aa808a76198e0e038afb6959c219a4487b0a
parentcbf58250b33e26d7e8e84919ee71eb1129f91f12
rpmsg: char: Export eptdev create and destroy functions

To prepare the split of the code related to the control (ctrldev)
and the endpoint (eptdev) devices in 2 separate files:

- Rename and export the functions in rpmsg_char.h.

- Suppress the dependency with the rpmsg_ctrldev struct in the
  rpmsg_eptdev_create function.

Suggested-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220124102524.295783-2-arnaud.pouliquen@foss.st.com
drivers/rpmsg/rpmsg_char.c
drivers/rpmsg/rpmsg_char.h [new file with mode: 0644]