summaryrefslogtreecommitdiffhomepage
path: root/ebpf/include/linux/iio/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'ebpf/include/linux/iio/buffer.h')
-rw-r--r--ebpf/include/linux/iio/buffer.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/ebpf/include/linux/iio/buffer.h b/ebpf/include/linux/iio/buffer.h
new file mode 100644
index 000000000..e0781622e
--- /dev/null
+++ b/ebpf/include/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 _IIO_BUFFER_H_
+#define _IIO_BUFFER_H_
+
+#define IIO_BUFFER_GET_FD_IOCTL _IOWR('i', 0x91, int)
+
+#endif /* _IIO_BUFFER_H_ */