diff options
author | Ricardo B. Marliere <ricardo@marliere.net> | 2024-03-05 16:37:51 +0300 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2024-03-07 19:19:08 +0300 |
commit | 8b2de7402f3bd897e09cfd83564c94bfd5a3cf86 (patch) | |
tree | 3aa4cacb498682771780e3044b369598062d869c /net/iucv | |
parent | e5d9592c8652ee95e2251778eb34522f7826360f (diff) | |
download | linux-8b2de7402f3bd897e09cfd83564c94bfd5a3cf86.tar.xz |
mips: sibyte: make tb_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 tb_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>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'net/iucv')
0 files changed, 0 insertions, 0 deletions