diff options
| author | Arnaud Pouliquen <[email protected]> | 2020-11-20 14:42:45 -0700 |
|---|---|---|
| committer | Bjorn Andersson <[email protected]> | 2020-11-24 10:11:59 -0600 |
| commit | 950a7388f02bf775515d13dc508cb9d749bd6d91 (patch) | |
| tree | 7b2ff928b8952d3231bc018a77732188cb400a63 /include/linux | |
| parent | 55488110acc1560b4599e3d509b13f2731a6fee1 (diff) | |
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 <[email protected]>
Tested-by: Guennadi Liakhovetski <[email protected]>
Co-developed-by: Mathieu Poirier <[email protected]>
Signed-off-by: Mathieu Poirier <[email protected]>
Co-developed-by: Guennadi Liakhovetski <[email protected]>
Signed-off-by: Guennadi Liakhovetski <[email protected]>
Signed-off-by: Arnaud Pouliquen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'include/linux')
| -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 |