summaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-region.c
diff options
context:
space:
mode:
authorIvan Orlov <ivan.orlov0322@gmail.com>2023-08-11 11:30:42 +0400
committerXu Yilun <yilun.xu@intel.com>2023-08-11 23:04:03 +0800
commit909960e2e29d9ebda8ef303e338e43c03b3d1faf (patch)
tree9d783947be8d6df4c12d80a6b9b99f3b269eb495 /drivers/fpga/fpga-region.c
parent7bb2d2190d43264eea34d71de7627117db79f9c1 (diff)
downloadlwn-909960e2e29d9ebda8ef303e338e43c03b3d1faf.tar.gz
lwn-909960e2e29d9ebda8ef303e338e43c03b3d1faf.zip
fpga: fpga-mgr: make fpga_mgr_class a static const structure
Now that the driver core allows for struct class to be in read-only memory, move the fpga_mgr_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 <gregkh@linuxfoundation.org> Signed-off-by: Ivan Orlov <ivan.orlov0322@gmail.com> Acked-by: Xu Yilun <yilun.xu@intel.com> Link: https://lore.kernel.org/r/20230811073043.52808-2-ivan.orlov0322@gmail.com Signed-off-by: Xu Yilun <yilun.xu@intel.com>
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions