Skip to content

Commit

Permalink
Merge pull request torvalds#303 from nbdd0121/pr_cont
Browse files Browse the repository at this point in the history
Remove `pr_cont` from prelude
  • Loading branch information
ojeda authored May 27, 2021
2 parents 7fde08b + 1f31c71 commit ed19a55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rust/kernel/prelude.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub use super::build_assert;

pub use module::{module, module_misc_device};

pub use super::{pr_alert, pr_cont, pr_crit, pr_emerg, pr_err, pr_info, pr_notice, pr_warn};
pub use super::{pr_alert, pr_crit, pr_emerg, pr_err, pr_info, pr_notice, pr_warn};

pub use super::static_assert;

Expand Down
1 change: 1 addition & 0 deletions samples/rust/rust_print.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#![no_std]
#![feature(allocator_api, global_asm)]

use kernel::pr_cont;
use kernel::prelude::*;

module! {
Expand Down

0 comments on commit ed19a55

Please sign in to comment.