diff options
| author | 2024-03-05 08:25:21 -0300 | |
|---|---|---|
| committer | 2024-03-13 09:23:49 +0100 | |
| commit | b5b44ac82930ab511978c87820324e31f741177f (patch) | |
| tree | fd9bea58099f740ffa8d7daf425dd658a7ea51c4 /rust/kernel/ssh:/git@git.zx2c4.com/git: | |
| parent | s390/vmur: make vmur_class constant (diff) | |
s390/vmlogrdr: make vmlogrdr_class constant
Since commit 43a7206b0963 ("driver core: class: make class_register() take
a const *"), the driver core allows for struct class to be in read-only
memory, so move the vmlogrdr_class structure to be declared at build time
placing it into read-only memory, instead of having to be dynamically
allocated at boot time.
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: "Ricardo B. Marliere" <ricardo@marliere.net>
Link: https://lore.kernel.org/r/20240305-class_cleanup-s390-v1-3-c4ff1ec49ffd@marliere.net
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
