aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-add.c
diff options
context:
space:
mode:
authorRicardo B. Marliere <[email protected]>2024-03-02 14:06:00 -0300
committerJakub Kicinski <[email protected]>2024-03-05 11:21:18 -0800
commitd9567f212b15c2bb2220ca59b3103c752765dded (patch)
tree5e0726f77565a9a4240ef21d266fbd164afa50aa /lib/crypto/mpi/mpi-add.c
parent2ad2018aa3572a82079b423f61680353bed2af60 (diff)
net: wwan: hwsim: make wwan_hwsim_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 wwan_hwsim_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: Ricardo B. Marliere <[email protected]> Acked-by: Sergey Ryazanov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions