diff options
author | Arnaud Pouliquen <arnaud.pouliquen@st.com> | 2020-11-21 00:42:45 +0300 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2020-11-24 19:11:59 +0300 |
commit | 950a7388f02bf775515d13dc508cb9d749bd6d91 (patch) | |
tree | 7b2ff928b8952d3231bc018a77732188cb400a63 /include/linux/rpmsg | |
parent | 55488110acc1560b4599e3d509b13f2731a6fee1 (diff) | |
download | linux-950a7388f02bf775515d13dc508cb9d749bd6d91.tar.xz |
rpmsg: Turn name service into a stand alone driver
Make the RPMSG name service announcement a stand alone driver so that it
can be reused by other subsystems. It is also the first step in making the
functionatlity transport independent, i.e that is not tied to virtIO.
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Tested-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Co-developed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Co-developed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Link: https://lore.kernel.org/r/20201120214245.172963-9-mathieu.poirier@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'include/linux/rpmsg')
-rw-r--r-- | include/linux/rpmsg/ns.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/rpmsg/ns.h b/include/linux/rpmsg/ns.h index 73ecc91dc26f..a7804edd6d58 100644 --- a/include/linux/rpmsg/ns.h +++ b/include/linux/rpmsg/ns.h @@ -4,6 +4,7 @@ #define _LINUX_RPMSG_NS_H #include <linux/mod_devicetable.h> +#include <linux/rpmsg.h> #include <linux/rpmsg/byteorder.h> #include <linux/types.h> @@ -39,4 +40,6 @@ enum rpmsg_ns_flags { /* Address 53 is reserved for advertising remote services */ #define RPMSG_NS_ADDR (53) +int rpmsg_ns_register_device(struct rpmsg_device *rpdev); + #endif |