diff options
| author | Ivan Orlov <[email protected]> | 2023-08-11 07:30:41 +0000 |
|---|---|---|
| committer | Xu Yilun <[email protected]> | 2023-08-11 15:03:37 +0000 |
| commit | 7bb2d2190d43264eea34d71de7627117db79f9c1 (patch) | |
| tree | 317a0d64af1a760bedf34764f6fc057ca32c9ffe /drivers/fpga/fpga-region.c | |
| parent | fpga: dfl-pci: Use pci_find_vsec_capability() to simplify the code (diff) | |
| download | kernel-7bb2d2190d43264eea34d71de7627117db79f9c1.tar.gz kernel-7bb2d2190d43264eea34d71de7627117db79f9c1.zip | |
fpga: bridge: make fpga_bridge_class a static const structure
Now that the driver core allows for struct class to be in read-only
memory, move the fpga_bridge_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
