mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 03:10:12 +00:00
![Suman Anna](/assets/img/avatar_default.png)
Use the appropriate SPDX license identifier in the rpmsg char driver source file and drop the previous boilerplate license text. The uapi header file already had the SPDX license identifier added as part of a mass update but the license text removal was deferred for later, and this patch drops the same. Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
27 lines
554 B
C
27 lines
554 B
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
/*
|
|
* Copyright (c) 2016, Linaro Ltd.
|
|
*/
|
|
|
|
#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
|