summaryrefslogtreecommitdiffstats
path: root/drivers/misc/ibmvmc.c
diff options
context:
space:
mode:
authorIvan Orlov <ivan.orlov0322@gmail.com>2023-08-10 23:42:39 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-08-11 21:41:36 +0200
commitfd06978b06a2ad99cb6d048617e50869d4081420 (patch)
tree10739d8e87af3ef12b51c5de630a8aff633e7b23 /drivers/misc/ibmvmc.c
parentb5fa33795544be7cb791a6991cb4bb6a237967f4 (diff)
downloadlinux-stable-fd06978b06a2ad99cb6d048617e50869d4081420.tar.gz
linux-stable-fd06978b06a2ad99cb6d048617e50869d4081420.tar.bz2
linux-stable-fd06978b06a2ad99cb6d048617e50869d4081420.zip
misc: hpilo: make ilo_class a static const structure
Now that the driver core allows for struct class to be in read-only memory, move the ilo_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 <gregkh@linuxfoundation.org> Signed-off-by: Ivan Orlov <ivan.orlov0322@gmail.com> Link: https://lore.kernel.org/r/20230810194239.26892-1-ivan.orlov0322@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/ibmvmc.c')
0 files changed, 0 insertions, 0 deletions