aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-region.c
diff options
context:
space:
mode:
authorRicardo B. Marliere <[email protected]>2024-03-05 13:37:51 +0000
committerThomas Bogendoerfer <[email protected]>2024-03-07 16:19:08 +0000
commit8b2de7402f3bd897e09cfd83564c94bfd5a3cf86 (patch)
tree3aa4cacb498682771780e3044b369598062d869c /drivers/fpga/fpga-region.c
parentmips: mt: make mt_class constant (diff)
downloadkernel-8b2de7402f3bd897e09cfd83564c94bfd5a3cf86.tar.gz
kernel-8b2de7402f3bd897e09cfd83564c94bfd5a3cf86.zip
mips: sibyte: make tb_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 tb_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: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions