summaryrefslogtreecommitdiff
path: root/rust/kernel
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@kernel.org>2025-01-03 17:46:02 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-07 11:31:45 +0100
commit9b880189327b9727640147253f3236ec5b3f704f (patch)
tree00a7a0a325c468fc8d1f45d4b24e3033a9c8efaf /rust/kernel
parent7e16820fe538e1d36a3bc5aab42f7d2c9d14d0fe (diff)
rust: io: move module entry to its correct location
The module entry of `io` falsely ended up in the "use" block instead of the "mod" block, hence move it to its correct location. Signed-off-by: Danilo Krummrich <dakr@kernel.org> Link: https://lore.kernel.org/r/20250103164655.96590-3-dakr@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/kernel')
-rw-r--r--rust/kernel/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/kernel/lib.rs b/rust/kernel/lib.rs
index b7351057ed9c..b11fa08de3c0 100644
--- a/rust/kernel/lib.rs
+++ b/rust/kernel/lib.rs
@@ -48,6 +48,7 @@ pub mod error;
pub mod firmware;
pub mod fs;
pub mod init;
+pub mod io;
pub mod ioctl;
pub mod jump_label;
#[cfg(CONFIG_KUNIT)]
@@ -84,7 +85,6 @@ pub mod workqueue;
#[doc(hidden)]
pub use bindings;
-pub mod io;
pub use macros;
pub use uapi;