summaryrefslogtreecommitdiff
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-06-10 10:19:42 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-06-13 16:41:06 +0200
commit477e36546e6fa79282427d5b82a9a9a67504de1a (patch)
tree05303b339855f3fe7b39d8e6af5023f748dd3779 /rust/helpers.c
parentdd6e9894b451e7c85cceb8e9dc5432679a70e7dc (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 <vishal.l.verma@intel.com> Cc: Dave Jiang <dave.jiang@intel.com> Cc: nvdimm@lists.linux.dev Reviewed-by: Dan Williams <dan.j.williams@intel.com> Reviewed-by: Ira Weiny <ira.weiny@intel.com> Link: https://lore.kernel.org/r/2024061041-grandkid-coherence-19b0@gregkh Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions