Files
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 <[email protected]>
Signed-off-by: Ricardo B. Marliere <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
2024-03-07 20:26:24 -08:00
..
2024-03-07 20:26:24 -08:00
2023-05-31 19:17:40 +01:00
2019-12-11 09:12:38 +01:00