diff options
author | Arnaud Pouliquen <arnaud.pouliquen@foss.st.com> | 2021-03-11 15:04:09 +0100 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2021-03-17 14:16:15 -0500 |
commit | 3093c3c7c136458af692d5c3d309a66c3c12d9f4 (patch) | |
tree | 30f0c2dc2b56254c938650651cb5cec03963c480 /include | |
parent | 60d7b22d25930e5c3e03eca32047e3313fa76897 (diff) | |
download | lwn-3093c3c7c136458af692d5c3d309a66c3c12d9f4.tar.gz lwn-3093c3c7c136458af692d5c3d309a66c3c12d9f4.zip |
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: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Link: https://lore.kernel.org/r/20210311140413.31725-3-arnaud.pouliquen@foss.st.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/rpmsg.h | 3 | ||||
-rw-r--r-- | include/uapi/linux/rpmsg.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/rpmsg.h b/include/linux/rpmsg.h index a5db828b2420..d97dcd049f18 100644 --- a/include/linux/rpmsg.h +++ b/include/linux/rpmsg.h @@ -18,8 +18,7 @@ #include <linux/mutex.h> #include <linux/poll.h> #include <linux/rpmsg/byteorder.h> - -#define RPMSG_ADDR_ANY 0xFFFFFFFF +#include <uapi/linux/rpmsg.h> struct rpmsg_device; struct rpmsg_endpoint; diff --git a/include/uapi/linux/rpmsg.h b/include/uapi/linux/rpmsg.h index e14c6dab4223..5e00748da319 100644 --- a/include/uapi/linux/rpmsg.h +++ b/include/uapi/linux/rpmsg.h @@ -9,6 +9,8 @@ #include <linux/ioctl.h> #include <linux/types.h> +#define RPMSG_ADDR_ANY 0xFFFFFFFF + /** * struct rpmsg_endpoint_info - endpoint info representation * @name: name of service |