diff options
author | FUJITA Tomonori <[email protected]> | 2024-08-28 07:35:11 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-08-30 10:27:34 +0100 |
commit | 4d080a029db1b2ff7e173d86886b3429596f3c63 (patch) | |
tree | 62be14e96d4b6964a65d89704cfd4d5cdb9a17fe /scripts/rustdoc_test_builder.rs | |
parent | 670726a8262e69b3625723b0e168aa20eb7a5f42 (diff) |
rust: sizes: add commonly used constants
Add rust equivalent to include/linux/sizes.h, makes code more
readable. Only SZ_*K that QT2025 PHY driver uses are added.
Make generated constants accessible with a proper type.
Reviewed-by: Alice Ryhl <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Reviewed-by: Benno Lossin <[email protected]>
Reviewed-by: Trevor Gross <[email protected]>
Signed-off-by: FUJITA Tomonori <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions