mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 09:22:27 +00:00
Now that the driver core allows for struct class to be in read-only memory, move the 'cl' structure to be declared at build time placing it into read-only memory, instead of having to be dynamically allocated at load time. Cc: "David S. Miller" <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Jonathan Corbet <[email protected]> Cc: Benjamin Tissoires <[email protected]> Cc: "Mike Rapoport (IBM)" <[email protected]> Cc: Suren Baghdasaryan <[email protected]> Cc: Ivan Orlov <[email protected]> Cc: [email protected] Suggested-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Ivan Orlov <[email protected]> Acked-by: Sam Ravnborg <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>