Rename KernelModule to kernel::Module

Signed-off-by: Sean Nash <sean.c.nash@gmail.com>
This commit is contained in:
Sean Nash 2022-04-30 22:30:25 -04:00
parent c53324dd9a
commit 44c8594a77
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ struct RustOutOfTree {
message: String,
}
impl KernelModule for RustOutOfTree {
impl kernel::Module for RustOutOfTree {
fn init(_name: &'static CStr, _module: &'static ThisModule) -> Result<Self> {
pr_info!("Rust out-of-tree sample (init)\n");