Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / include / uapi / linux / android / binderfs.h
blob87410477aea91cdccf57af137c74b2c8adc08187
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /*
3 * Copyright (C) 2018 Canonical Ltd.
5 */
7 #ifndef _UAPI_LINUX_BINDERFS_H
8 #define _UAPI_LINUX_BINDERFS_H
10 #include <linux/android/binder.h>
11 #include <linux/types.h>
12 #include <linux/ioctl.h>
14 #define BINDERFS_MAX_NAME 255
16 /**
17 * struct binderfs_device - retrieve information about a new binder device
18 * @name: the name to use for the new binderfs binder device
19 * @major: major number allocated for binderfs binder devices
20 * @minor: minor number allocated for the new binderfs binder device
23 struct binderfs_device {
24 char name[BINDERFS_MAX_NAME + 1];
25 __u32 major;
26 __u32 minor;
29 /**
30 * Allocate a new binder device.
32 #define BINDER_CTL_ADD _IOWR('b', 1, struct binderfs_device)
34 #endif /* _UAPI_LINUX_BINDERFS_H */