Skip to content
This repository was archived by the owner on Mar 7, 2021. It is now read-only.

Commit ae8ce6e

Browse files
committed
Fix println import
1 parent a562953 commit ae8ce6e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ mod types;
1919
pub mod user_ptr;
2020

2121
pub use crate::error::{Error, KernelResult};
22+
pub use crate::printk::println;
2223
pub use crate::types::Mode;
2324

2425
pub type _InitResult = c_types::c_int;

tests/printk/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#![no_std]
22
#![feature(const_str_as_bytes)]
33

4-
use linux_kernel_module;
4+
use linux_kernel_module::{self, println};
55

66
struct PrintkTestModule;
77

0 commit comments

Comments
 (0)