aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorIvan Orlov <[email protected]>2023-06-20 16:37:54 +0200
committerGreg Kroah-Hartman <[email protected]>2023-06-23 10:27:11 +0200
commit03bcd4d8e9e6da7521b1bdff4116bfed9050cfa9 (patch)
tree0eade72fbc9cfd28f9fe948a73897acf8ad007f3 /net/lapb/lapb_subr.c
parentbd31ef88361a1ca8435bf81551b2bba2d1e07457 (diff)
char: lp: make lp_class a static const structure
Now that the driver core allows for struct class to be in read-only memory, move the lp_class structure to be declared at build time placing it into read-only memory, instead of having to be dynamically allocated at load time. Cc: Arnd Bergmann <[email protected]> Suggested-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Ivan Orlov <[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