]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
gpu: nova-core: Update ARef imports from sync::aref
authorShankari Anand <shankari.ak0208@gmail.com>
Wed, 20 Aug 2025 11:28:46 +0000 (16:58 +0530)
committerAlexandre Courbot <acourbot@nvidia.com>
Thu, 21 Aug 2025 13:11:08 +0000 (22:11 +0900)
Update call sites in nova-core to import `ARef`
from `sync::aref` instead of `types`.

This aligns with the ongoing effort to move `ARef` and
`AlwaysRefCounted` to sync.

[acourbot@nvidia.com: use standard prefix for nova-core.]

Suggested-by: Benno Lossin <lossin@kernel.org>
Link: https://github.com/Rust-for-Linux/linux/issues/1173
Signed-off-by: Shankari Anand <shankari.ak0208@gmail.com>
Reviewed-by: Benno Lossin <lossin@kernel.org>
Link: https://lore.kernel.org/r/20250820112846.9665-1-shankari.ak0208@gmail.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drivers/gpu/nova-core/falcon.rs
drivers/gpu/nova-core/fb.rs

index d235a6f9efca452cc46e2d13c61789eb00252de2..645e65175cb6d3e421997dc85c54b1ea25bb7620 100644 (file)
@@ -7,8 +7,8 @@ use hal::FalconHal;
 use kernel::bindings;
 use kernel::device;
 use kernel::prelude::*;
+use kernel::sync::aref::ARef;
 use kernel::time::Delta;
-use kernel::types::ARef;
 
 use crate::dma::DmaObject;
 use crate::driver::Bar0;
index 4a702525fff4f394b75fcf54145ba78e34a1a539..68559902ae78bdef8d9bbe88a2f33eecde2ebcab 100644 (file)
@@ -4,7 +4,7 @@ use core::ops::Range;
 
 use kernel::prelude::*;
 use kernel::sizes::*;
-use kernel::types::ARef;
+use kernel::sync::aref::ARef;
 use kernel::{dev_warn, device};
 
 use crate::dma::DmaObject;