diff options
author | Greg Kroah-Hartman <[email protected]> | 2024-06-10 10:19:42 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-06-13 16:41:06 +0200 |
commit | 477e36546e6fa79282427d5b82a9a9a67504de1a (patch) | |
tree | 05303b339855f3fe7b39d8e6af5023f748dd3779 /drivers/fpga/fpga-bridge.c | |
parent | dd6e9894b451e7c85cceb8e9dc5432679a70e7dc (diff) |
nvdimm: make nd_class constant
Now that the driver core allows for struct class to be in read-only
memory, it is possible to make all 'class' structures be declared at
build time. Move the class to a 'static const' declaration and register
it rather than dynamically create it."
Cc: Vishal Verma <[email protected]>
Cc: Dave Jiang <[email protected]>
Cc: [email protected]
Reviewed-by: Dan Williams <[email protected]>
Reviewed-by: Ira Weiny <[email protected]>
Link: https://lore.kernel.org/r/2024061041-grandkid-coherence-19b0@gregkh
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions