linux/drivers/isdn
Ricardo B. Marliere 479b4bc867 isdn: mISDN: make elements_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 elements_class structure to be declared at build time
placing it into read-only memory, instead of having to be dynamically
allocated at boot time.

Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ricardo B. Marliere <ricardo@marliere.net>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240305-class_cleanup-isdn-v1-1-6f0edca75b61@marliere.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-03-07 20:26:24 -08:00
..
capi tty: make tty_operations::send_xchar accept u8 char 2023-12-08 12:02:37 +01:00
hardware isdn: mISDN: hfcsusb: Spelling fix in comment 2023-10-23 09:39:46 +01:00
mISDN isdn: mISDN: make elements_class constant 2024-03-07 20:26:24 -08:00
Kconfig mISDN: add HAS_IOPORT dependencies 2023-05-31 19:17:40 +01:00
Makefile isdn: capi: dead code removal 2019-12-11 09:12:38 +01:00