diff options
author | Ricardo B. Marliere <ricardo@marliere.net> | 2024-03-05 08:25:20 -0300 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2024-03-13 09:23:49 +0100 |
commit | 0ad1d9fa598c5dcb7b7ec42d741c383776e3e196 (patch) | |
tree | 55e240a2a2eeb5829751233a43ab1b96f8aaaae5 /drivers/usb/cdns3/cdns3-trace.c | |
parent | b11cc9e6d9da134a0fddea3a3206b9b9d4131b7b (diff) |
s390/vmur: make vmur_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 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>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions