linux/drivers/isdn
Ricardo B. Marliere 12fbd67ea3 isdn: capi: make capi_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 capi_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-2-6f0edca75b61@marliere.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-03-07 20:26:24 -08:00
..
capi isdn: capi: make capi_class constant 2024-03-07 20:26:24 -08: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
Makefile