aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-add.c
diff options
context:
space:
mode:
authorRicardo B. Marliere <[email protected]>2024-03-02 14:06:02 -0300
committerJakub Kicinski <[email protected]>2024-03-05 11:21:18 -0800
commite5560011692981bc8bfeae7fc0673c65a02badba (patch)
treecd04c9f66b685134b85b2f127b59cf742c479a97 /lib/crypto/mpi/mpi-add.c
parent070bef83f03ea9d91a8011f18113f8967e3df5bf (diff)
nfc: core: make nfc_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 nfc_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]> Reviewed-by: Simon Horman <[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