summaryrefslogtreecommitdiff
path: root/include/uapi/linux/iio/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux/iio/buffer.h')
-rw-r--r--include/uapi/linux/iio/buffer.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/uapi/linux/iio/buffer.h b/include/uapi/linux/iio/buffer.h
new file mode 100644
index 000000000000..13939032b3f6
--- /dev/null
+++ b/include/uapi/linux/iio/buffer.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
+/* industrial I/O buffer definitions needed both in and out of kernel
+ */
+
+#ifndef _UAPI_IIO_BUFFER_H_
+#define _UAPI_IIO_BUFFER_H_
+
+#define IIO_BUFFER_GET_FD_IOCTL _IOWR('i', 0x91, int)
+
+#endif /* _UAPI_IIO_BUFFER_H_ */