staging: vme_user: make vme_user_sysfs_class constant
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Oct 2023 13:45:24 +0000 (15:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Oct 2023 13:38:25 +0000 (15:38 +0200)
commit0c99ee4e8f4bdfc9347de2e161d7efcdacce853b
tree85423c677589703e3f9d478fb52f8ca9eb78ba73
parent9565794b1b01011b51d485b662fb6e544628fd63
staging: vme_user: make vme_user_sysfs_class constant

Now that the driver core allows for struct class to be in read-only
memory, making all 'class' structures to be declared at build time
placing them into read-only memory, instead of having to be dynamically
allocated at load time.

Link: https://lore.kernel.org/r/2023100523-throwback-oak-a164@gregkh
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vme_user/vme_user.c