mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
Now that the driver core allows for struct class to be in read-only memory, we should make all 'class' structures declared at build time placing them into read-only memory, instead of having to be dynamically allocated at runtime. Cc: Zhou Wang <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: [email protected] Tested-by: Zhangfei Gao <[email protected]> Link: https://lore.kernel.org/r/2023102458-designate-vicinity-4c86@gregkh Signed-off-by: Greg Kroah-Hartman <[email protected]>