aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-region.c
diff options
context:
space:
mode:
authorRicardo B. Marliere <[email protected]>2024-03-05 13:37:50 +0000
committerThomas Bogendoerfer <[email protected]>2024-03-07 16:18:50 +0000
commite5d9592c8652ee95e2251778eb34522f7826360f (patch)
treea4c5c57cfd6c8c1650cf95465a38b8b375a1ae0f /drivers/fpga/fpga-region.c
parentMIPS: ralink: Remove unused of_gpio.h (diff)
downloadkernel-e5d9592c8652ee95e2251778eb34522f7826360f.tar.gz
kernel-e5d9592c8652ee95e2251778eb34522f7826360f.zip
mips: mt: make mt_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 mt_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