linux/rust/macros
Anisse Astier a4e3b76e4d rust: macros: enable use of hyphens in module names
Some modules might need naming that contains hyphens "-" to match the
auto-probing by name in the platform devices that comes from the device
tree.

But Rust identifier cannot contain hyphens, so replace them with
underscores.

Signed-off-by: Anisse Astier <anisse@astier.eu>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
[ Viresh: Replace "-" with '-', minor commit log fix, rename variable and
  fix line length checkpatch warnings ]
Reviewed-by: Benno Lossin <lossin@kernel.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2025-05-20 10:04:04 +05:30
..
concat_idents.rs
export.rs rust: add #[export] macro 2025-03-09 20:52:46 +01:00
helpers.rs rust: make pin-init its own crate 2025-03-16 21:59:19 +01:00
kunit.rs rust: macros: add macro to easily run KUnit tests 2025-03-20 12:26:54 +01:00
lib.rs rust: macros: add macro to easily run KUnit tests 2025-03-20 12:26:54 +01:00
module.rs rust: macros: enable use of hyphens in module names 2025-05-20 10:04:04 +05:30
paste.rs rust: macros: enable paste! use from macro_rules! 2024-11-01 22:02:53 +01:00
quote.rs rust: make pin-init its own crate 2025-03-16 21:59:19 +01:00
vtable.rs rust: macros: vtable: fix HAS_* redefinition (gen_const_name) 2023-08-09 21:15:07 +02:00