diff options
| author | Ivan Orlov <[email protected]> | 2023-08-11 07:30:42 +0000 |
|---|---|---|
| committer | Xu Yilun <[email protected]> | 2023-08-11 15:04:03 +0000 |
| commit | 909960e2e29d9ebda8ef303e338e43c03b3d1faf (patch) | |
| tree | 9d783947be8d6df4c12d80a6b9b99f3b269eb495 /drivers/fpga/fpga-region.c | |
| parent | fpga: bridge: make fpga_bridge_class a static const structure (diff) | |
| download | kernel-909960e2e29d9ebda8ef303e338e43c03b3d1faf.tar.gz kernel-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 <[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/fpga-region.c')
0 files changed, 0 insertions, 0 deletions
