aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_target.rs
diff options
context:
space:
mode:
authorRicardo B. Marliere <[email protected]>2024-03-05 19:38:25 +0000
committerDominik Brodowski <[email protected]>2024-03-10 08:07:00 +0000
commitccae53aa8aa2d902242555638c5de104aab08879 (patch)
tree32de34fd32b13fc8590fa4eaf2f6036af0a556b4 /scripts/generate_rust_target.rs
parentpcmcia: ds: make pcmcia_bus_type const (diff)
downloadkernel-ccae53aa8aa2d902242555638c5de104aab08879.tar.gz
kernel-ccae53aa8aa2d902242555638c5de104aab08879.zip
pcmcia: cs: make pcmcia_socket_class constant
Since commit 43a7206b0963 ("driver core: class: make class_register() take a const *"), the driver core allows for struct class to be in read-only memory, so move the pcmcia_socket_class structure to be declared at build time placing it into read-only memory, instead of having to be dynamically allocated at boot time. Cc: Greg Kroah-Hartman <[email protected]> Suggested-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Ricardo B. Marliere <[email protected]> Signed-off-by: Dominik Brodowski <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions