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

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");