Commit 3093c3c7 authored by Arnaud Pouliquen's avatar Arnaud Pouliquen Committed by Bjorn Andersson

rpmsg: Move RPMSG_ADDR_ANY in user API

As the RPMSG_ADDR_ANY is a valid src or dst address that can be set by
user applications, migrate its definition in user API.
Reviewed-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: default avatarArnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Link: https://lore.kernel.org/r/20210311140413.31725-3-arnaud.pouliquen@foss.st.comSigned-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 60d7b22d
...@@ -18,8 +18,7 @@ ...@@ -18,8 +18,7 @@
#include <linux/mutex.h> #include <linux/mutex.h>
#include <linux/poll.h> #include <linux/poll.h>
#include <linux/rpmsg/byteorder.h> #include <linux/rpmsg/byteorder.h>
#include <uapi/linux/rpmsg.h>
#define RPMSG_ADDR_ANY 0xFFFFFFFF
struct rpmsg_device; struct rpmsg_device;
struct rpmsg_endpoint; struct rpmsg_endpoint;
......
...@@ -9,6 +9,8 @@ ...@@ -9,6 +9,8 @@
#include <linux/ioctl.h> #include <linux/ioctl.h>
#include <linux/types.h> #include <linux/types.h>
#define RPMSG_ADDR_ANY 0xFFFFFFFF
/** /**
* struct rpmsg_endpoint_info - endpoint info representation * struct rpmsg_endpoint_info - endpoint info representation
* @name: name of service * @name: name of service
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment