linux/arch/mips/sibyte
Ricardo B. Marliere 8b2de7402f mips: sibyte: make tb_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 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>
2024-03-07 17:19:08 +01:00
..
bcm1480 MIPS: Sibyte: remove unnecessary return variable 2022-05-12 18:06:50 +02:00
common mips: sibyte: make tb_class constant 2024-03-07 17:19:08 +01:00
sb1250 MIPS: remove orphan sb1250_time_init() declaration 2022-09-24 11:46:58 +02:00
swarm vgacon: fix mips/sibyte build regression 2023-10-24 08:54:37 +02:00
Kconfig MIPS: sibyte: Replace BCM1125H with SB1250 option 2023-03-17 10:27:34 +01:00
Makefile MIPS: sibyte: Remove Sibyte CARMEL and CRHINE board support 2023-03-17 10:27:21 +01:00
Platform MIPS: sibyte: Remove Sibyte CARMEL and CRHINE board support 2023-03-17 10:27:21 +01:00