diff options
author | Ricardo B. Marliere <[email protected]> | 2024-03-02 14:06:01 -0300 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-03-05 11:21:18 -0800 |
commit | 070bef83f03ea9d91a8011f18113f8967e3df5bf (patch) | |
tree | 0b7c30a173fd6808cd721029c10bee6d43c0c5a9 /lib/crypto/mpi/mpi-add.c | |
parent | d9567f212b15c2bb2220ca59b3103c752765dded (diff) |
net: wwan: core: make wwan_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_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