diff options
| author | Greg Kroah-Hartman <[email protected]> | 2023-04-02 17:58:50 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-04-03 19:43:07 +0000 |
| commit | 862d8312eed994a8a9af7aa8e9e15456183b10a7 (patch) | |
| tree | 5f5539fe15f5f1009b9d6086f0adcecb6b6df478 /drivers/fpga/fpga-bridge.c | |
| parent | driver core: class: remove struct class_interface * from callbacks (diff) | |
| download | kernel-862d8312eed994a8a9af7aa8e9e15456183b10a7.tar.gz kernel-862d8312eed994a8a9af7aa8e9e15456183b10a7.zip | |
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/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions
