diff options
author | Ricardo B. Marliere <ricardo@marliere.net> | 2024-03-05 14:25:22 +0300 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2024-03-13 11:23:49 +0300 |
commit | 520776557baae85f671a5cc324c27e3226f5ef81 (patch) | |
tree | 84702e21544aa693c3a37847e23c6a7495a4502b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | b5b44ac82930ab511978c87820324e31f741177f (diff) | |
download | linux-520776557baae85f671a5cc324c27e3226f5ef81.tar.xz |
s390/tape: make tape_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 tape_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-4-c4ff1ec49ffd@marliere.net
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions