mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04: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]>