Merge pull request #1 from seannash/main

rename KernelModule to kernel::Module
This commit is contained in:
Miguel Ojeda 2022-05-05 00:13:27 +02:00 committed by GitHub
commit 6919bb798d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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");