rpmsg: Create the rpmsg class in core instead of in rpmsg char
authorArnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Mon, 24 Jan 2022 10:25:15 +0000 (11:25 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sun, 13 Mar 2022 16:49:53 +0000 (11:49 -0500)
commit608edd96049b142de7944413cd7c24cb3f203d37
treec4d3db180e4ad34bea8cfd4f6cd6c3c7b5f92f00
parent69265bc12b6567c6aa9550a198b791e876fbfd2c
rpmsg: Create the rpmsg class in core instead of in rpmsg char

Migrate the creation of the rpmsg class from the rpmsg_char
to the core that the class is usable by the rpmsg_char and
the future rpmsg_ctrl module.

Suggested-by: Bjorn Andersson <bjorn.andersson@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-3-arnaud.pouliquen@foss.st.com
drivers/rpmsg/rpmsg_char.c
drivers/rpmsg/rpmsg_core.c
drivers/rpmsg/rpmsg_internal.h