Merge pull request #1 from seannash/main
rename KernelModule to kernel::Module
This commit is contained in:
commit
6919bb798d
@ -16,7 +16,7 @@ struct RustOutOfTree {
|
|||||||
message: String,
|
message: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl KernelModule for RustOutOfTree {
|
impl kernel::Module for RustOutOfTree {
|
||||||
fn init(_name: &'static CStr, _module: &'static ThisModule) -> Result<Self> {
|
fn init(_name: &'static CStr, _module: &'static ThisModule) -> Result<Self> {
|
||||||
pr_info!("Rust out-of-tree sample (init)\n");
|
pr_info!("Rust out-of-tree sample (init)\n");
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user