diff options
author | Greg Kroah-Hartman <[email protected]> | 2023-04-02 19:58:50 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-04-03 21:43:07 +0200 |
commit | 862d8312eed994a8a9af7aa8e9e15456183b10a7 (patch) | |
tree | 5f5539fe15f5f1009b9d6086f0adcecb6b6df478 /drivers/base/firmware_loader/main.c | |
parent | 2243acd50ac4026e93ac4f024109be6dbd7f9098 (diff) |
tty: make tty_class a static const structure
Now that the driver core allows for struct class to be in read-only
memory, move the tty_class structure to be declared at build time
placing it into read-only memory, instead of having to be dynamically
allocated at boot time.
Cc: "Ilpo Järvinen" <[email protected]>
Reviewed-by: Jiri Slaby <[email protected]>
Link: https://lore.kernel.org/r/2023040250-landowner-unfitted-11f4@gregkh
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/base/firmware_loader/main.c')
0 files changed, 0 insertions, 0 deletions