]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
rust: io: move module entry to its correct location
authorDanilo Krummrich <dakr@kernel.org>
Fri, 3 Jan 2025 16:46:02 +0000 (17:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 7 Jan 2025 10:31:45 +0000 (11:31 +0100)
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>
rust/kernel/lib.rs

index b7351057ed9c08115809aa3edd0f0fe8a5354789..b11fa08de3c0f41d2e6ae18d91c41149287aa024 100644 (file)
@@ -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;