ARef and AlwaysRefCounted are being moved to sync::aref, and the
re-exports under types are planned to be removed. Thus, update imports
to the new path.
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
---
rust/kernel/workqueue.rs | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/rust/kernel/workqueue.rs b/rust/kernel/workqueue.rs
index 4ee4ff567197..019feafd3459 100644
--- a/rust/kernel/workqueue.rs
+++ b/rust/kernel/workqueue.rs
@@ -189,10 +189,12 @@
alloc::{AllocError, Flags},
container_of,
prelude::*,
- sync::Arc,
- sync::LockClassKey,
+ sync::{
+ aref::{ARef, AlwaysRefCounted},
+ Arc, LockClassKey,
+ },
time::Jiffies,
- types::{ARef, AlwaysRefCounted, Opaque},
+ types::Opaque,
};
use core::{marker::PhantomData, ptr::NonNull};
--
2.53.0.1018.g2bb0e51243-goog