Files
linux/drivers
Ricardo B. Marliere c057eddcb4 ptp: make ptp_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 ptp_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-ptp-v1-1-ed253eb33c20@marliere.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-03-11 13:42:09 -07:00
..
2024-02-06 20:07:35 +02:00
2024-02-06 14:10:47 +08:00
2024-03-03 02:32:35 +00:00
2024-03-07 20:26:24 -08:00
2024-02-05 16:16:24 +01:00
2024-03-11 13:42:09 -07:00
2024-02-27 12:52:51 +00:00
2024-02-06 20:07:12 +02:00