linux/drivers/s390
Ricardo B. Marliere 0ad1d9fa59 s390/vmur: make vmur_class constant
Since commit 43a7206b09 ("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 vmur_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-2-c4ff1ec49ffd@marliere.net
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
2024-03-13 09:23:49 +01:00
..
block s390/scm: use new address translation helpers 2024-03-13 09:23:47 +01:00
char s390/vmur: make vmur_class constant 2024-03-13 09:23:49 +01:00
cio s390/vfio_ccw_cp: use new address translation helpers 2024-03-13 09:23:49 +01:00
crypto s390/zcrypt: make zcrypt_class constant 2024-03-13 09:23:49 +01:00
net s390/ctcm: use new address translation helpers 2024-03-13 09:23:48 +01:00
scsi s390/zfcp: use new address translation helpers 2024-03-13 09:23:48 +01:00
virtio s390/virtio_ccw: avoid converting dma addresses / handles 2024-03-13 09:23:46 +01:00
Makefile s390: remove pointless drivers-y in drivers/s390/Makefile 2019-09-16 13:21:51 +02:00