diff options
author | Ivan Orlov <ivan.orlov0322@gmail.com> | 2023-08-10 23:42:39 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-08-11 21:41:36 +0200 |
commit | fd06978b06a2ad99cb6d048617e50869d4081420 (patch) | |
tree | 10739d8e87af3ef12b51c5de630a8aff633e7b23 /drivers/misc/hpilo.h | |
parent | b5fa33795544be7cb791a6991cb4bb6a237967f4 (diff) | |
download | linux-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/hpilo.h')
0 files changed, 0 insertions, 0 deletions