aboutsummaryrefslogtreecommitdiff
path: root/scripts/rustdoc_test_builder.rs
diff options
context:
space:
mode:
authorIvan Orlov <[email protected]>2023-08-10 21:49:05 +0400
committerLee Jones <[email protected]>2023-08-18 08:43:11 +0100
commit43a707ae58406200597b03a5be782e726b3c175b (patch)
tree46fb8cb26855f59afa5848accac4bd53187da543 /scripts/rustdoc_test_builder.rs
parent3d590af89b1e61568395ab37e9b5f88fd711f638 (diff)
leds: Make leds_class a static const structure
Now that the driver core allows for struct class to be in read-only memory, move the leds_class structure to be declared at build time placing it into read-only memory, instead of having to be dynamically allocated at boot time. Suggested-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Ivan Orlov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions