diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2017-02-09 15:37:13 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2017-02-09 15:37:13 +1100 |
commit | 2246214570b74b0fa79309f2db51b69cbaa90f47 (patch) | |
tree | 098571d85b7d006aab28c95e7ba2f8cae6d1b87a /include/uapi | |
parent | d2db277cb0384a66bd4b1b1bd4dbddb5f077a578 (diff) | |
parent | 446521b2e8a269314444c4f244a15831094d71c0 (diff) |
Merge remote-tracking branch 'rpmsg/for-next'
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/rpmsg.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/include/uapi/linux/rpmsg.h b/include/uapi/linux/rpmsg.h new file mode 100644 index 000000000000..dedc226e0d3f --- /dev/null +++ b/include/uapi/linux/rpmsg.h @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2016, Linaro Ltd. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 and + * only version 2 as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#ifndef _UAPI_RPMSG_H_ +#define _UAPI_RPMSG_H_ + +#include <linux/ioctl.h> +#include <linux/types.h> + +/** + * struct rpmsg_endpoint_info - endpoint info representation + * @name: name of service + * @src: local address + * @dst: destination address + */ +struct rpmsg_endpoint_info { + char name[32]; + __u32 src; + __u32 dst; +}; + +#define RPMSG_CREATE_EPT_IOCTL _IOW(0xb5, 0x1, struct rpmsg_endpoint_info) +#define RPMSG_DESTROY_EPT_IOCTL _IO(0xb5, 0x2) + +#endif |