diff options
author | Ivan Orlov <ivan.orlov0322@gmail.com> | 2023-08-10 22:42:39 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-08-11 22:41:36 +0300 |
commit | fd06978b06a2ad99cb6d048617e50869d4081420 (patch) | |
tree | 10739d8e87af3ef12b51c5de630a8aff633e7b23 /scripts/lib/kdoc/kdoc_files.py | |
parent | b5fa33795544be7cb791a6991cb4bb6a237967f4 (diff) | |
download | linux-fd06978b06a2ad99cb6d048617e50869d4081420.tar.xz |
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 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions