[PATCH RFC 1/3] rust: bindings: add TTY subsystem headers

SeungJong Ha via B4 Relay posted 3 patches 1 week, 5 days ago
[PATCH RFC 1/3] rust: bindings: add TTY subsystem headers
Posted by SeungJong Ha via B4 Relay 1 week, 5 days ago
From: SeungJong Ha <engineer.jjhama@gmail.com>

Add bindings for the TTY subsystem by including the following headers:
- linux/tty.h
- linux/tty_driver.h
- linux/tty_port.h

These bindings are needed for the upcoming Rust TTY driver abstractions.

Signed-off-by: SeungJong Ha <engineer.jjhama@gmail.com>
---
 rust/bindings/bindings_helper.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/rust/bindings/bindings_helper.h b/rust/bindings/bindings_helper.h
index a067038b4b42..dc326eb84955 100644
--- a/rust/bindings/bindings_helper.h
+++ b/rust/bindings/bindings_helper.h
@@ -81,6 +81,9 @@
 #include <linux/security.h>
 #include <linux/slab.h>
 #include <linux/task_work.h>
+#include <linux/tty.h>
+#include <linux/tty_driver.h>
+#include <linux/tty_port.h>
 #include <linux/tracepoint.h>
 #include <linux/usb.h>
 #include <linux/wait.h>

-- 
2.43.0