Commit ee2776e5 authored by Alice Ryhl's avatar Alice Ryhl Committed by Danilo Krummrich
Browse files

rust: scatterlist: import ResourceSize from kernel::io



Now that ResourceSize has been moved to kernel::io, import it from the
io module instead of the io::resource sub-module. It makes sense in this
case since the dma_len isn't really related to the Resource type even
though both are sizes of allocations in physical ram.

Signed-off-by: default avatarAlice Ryhl <aliceryhl@google.com>
Link: https://patch.msgid.link/20251112-resource-phys-typedefs-v2-3-538307384f82@google.com


Signed-off-by: default avatarDanilo Krummrich <dakr@kernel.org>
parent dfd67993
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@
    device::{Bound, Device},
    devres::Devres,
    dma, error,
    io::resource::ResourceSize,
    io::ResourceSize,
    page,
    prelude::*,
    types::{ARef, Opaque},