[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20260126-rust-tty-printk-driver-v1-1-28604e7e100e@gmail.com>
Date: Mon, 26 Jan 2026 12:22:08 +0000
From: SeungJong Ha via B4 Relay <devnull+engineer.jjhama.gmail.com@...nel.org>
To: Miguel Ojeda <ojeda@...nel.org>, Boqun Feng <boqun.feng@...il.com>,
Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <lossin@...nel.org>, Andreas Hindborg <a.hindborg@...nel.org>,
Alice Ryhl <aliceryhl@...gle.com>, Trevor Gross <tmgross@...ch.edu>,
Danilo Krummrich <dakr@...nel.org>, Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org,
SeungJong Ha <engineer.jjhama@...il.com>
Subject: [PATCH RFC 1/3] rust: bindings: add TTY subsystem headers
From: SeungJong Ha <engineer.jjhama@...il.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@...il.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
Powered by blists - more mailing lists