linux/drivers/isdn/capi
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.c isdn: capi: make capi_class constant 2024-03-07 20:26:24 -08:00
capiutil.c isystem: ship and use stdarg.h 2021-08-19 09:02:55 +09:00
kcapi_proc.c proc: mandate ->proc_lseek in "struct proc_ops" 2021-05-06 19:24:11 -07:00
kcapi.c isdn: kcapi: replace deprecated strncpy with strscpy_pad 2023-10-02 11:07:02 -07:00
kcapi.h isdn: capi: dead code removal 2019-12-11 09:12:38 +01:00
Kconfig isdn/capi: Replace HTTP links with HTTPS ones 2020-07-13 17:25:35 -07:00
Makefile isdn: capi: dead code removal 2019-12-11 09:12:38 +01:00