aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorIvan Orlov <[email protected]>2024-04-12 16:17:26 +0100
committerGreg Kroah-Hartman <[email protected]>2024-06-10 10:22:20 +0200
commitd7d3ae441e29f0ca56c69cdd3a47769227b7be3d (patch)
tree57d0597244174c1e54647a29ce276f155868e442 /drivers/fpga/fpga-bridge.c
parentbd7246a19ed85451befc3c8fc6038a7d955e7d5f (diff)
dca: make dca_class a static const structure
The driver core allows for struct class to be in read-only memory. Move the dca_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]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions