summaryrefslogtreecommitdiff
path: root/drivers/s390/char/vmlogrdr.c
diff options
context:
space:
mode:
authorRicardo B. Marliere <ricardo@marliere.net>2024-03-05 14:25:19 +0300
committerHeiko Carstens <hca@linux.ibm.com>2024-03-13 11:23:49 +0300
commitb11cc9e6d9da134a0fddea3a3206b9b9d4131b7b (patch)
tree7e9981686f1bb76f0d5fc2c3528338f4ce8657f4 /drivers/s390/char/vmlogrdr.c
parent5f58bde7264704fec2058afc219a3557f02f3d8f (diff)
downloadlinux-b11cc9e6d9da134a0fddea3a3206b9b9d4131b7b.tar.xz
s390/zcrypt: make zcrypt_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 zcrypt_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> Acked-by: Harald Freudenberger <freude@linux.ibm.com> Link: https://lore.kernel.org/r/20240305-class_cleanup-s390-v1-1-c4ff1ec49ffd@marliere.net Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'drivers/s390/char/vmlogrdr.c')
0 files changed, 0 insertions, 0 deletions