aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorIvan Orlov <[email protected]>2023-06-20 20:34:47 +0200
committerGreg Kroah-Hartman <[email protected]>2023-06-23 10:27:02 +0200
commit02fa4bcf4d15d7c93e6bb09d000d291dc2eb410e (patch)
treee0c79f650b56ee617ae7a877f9dccb4505cba4c8 /net/lapb/lapb_subr.c
parentfa50d6b8a5f762c62dc0049d3ede9f1e47cc47d3 (diff)
oradax: make 'cl' a static const structure
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]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions