Searched hist:d7d3ae441e29f0ca56c69cdd3a47769227b7be3d (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/dca/ |
H A D | dca-sysfs.c | diff d7d3ae441e29f0ca56c69cdd3a47769227b7be3d Fri Apr 12 17:17:26 CEST 2024 Ivan Orlov <ivan.orlov0322@gmail.com> dca: make dca_class a static const structure
The driver core allows for struct class to be in read-only memory. Move the dca_class structure to be declared at build time placing it into read-only memory, instead of having to be dynamically allocated at boot time.
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Ivan Orlov <ivan.orlov0322@gmail.com> Link: https://lore.kernel.org/r/20240412151726.189030-1-ivan.orlov0322@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|