rust: pin-init: change the way the `paste!` macro is called
Change the paste macro path from `::kernel::macros::paste!` to use `$crate::init::macros::paste!` instead, which links to `::macros::paste!`. This is because the pin-init crate will be a dependency of the kernel, so it itself cannot have the kernel as a dependency. Signed-off-by:Benno Lossin <benno.lossin@proton.me> Reviewed-by:
Fiona Behrens <me@kloenk.dev> Reviewed-by:
Andreas Hindborg <a.hindborg@kernel.org> Tested-by:
Andreas Hindborg <a.hindborg@kernel.org> Link: https://lore.kernel.org/r/20250308110339.2997091-14-benno.lossin@proton.me Signed-off-by:
Miguel Ojeda <ojeda@kernel.org>
Loading
Please sign in to comment