Rename KernelModule to kernel::Module
Signed-off-by: Sean Nash <sean.c.nash@gmail.com>
This commit is contained in:
parent
c53324dd9a
commit
44c8594a77
|
@ -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…
Reference in New Issue