aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/tests/fpga-mgr-test.c
diff options
context:
space:
mode:
authorIvan Orlov <[email protected]>2023-08-11 11:30:43 +0400
committerXu Yilun <[email protected]>2023-08-11 23:04:21 +0800
commit1a22ec09a2c1d367a43cb7f837c7a8719e7fe975 (patch)
tree7f597875efb611812750bdcd661400858485d5b5 /drivers/fpga/tests/fpga-mgr-test.c
parent909960e2e29d9ebda8ef303e338e43c03b3d1faf (diff)
fpga: region: make fpga_region_class a static const structure
Now that the driver core allows for struct class to be in read-only memory, move the fpga_region_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: Ivan Orlov <[email protected]> Acked-by: Xu Yilun <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Xu Yilun <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions