diff options
author | Ivan Orlov <ivan.orlov0322@gmail.com> | 2023-08-12 00:30:52 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-08-22 14:42:00 +0300 |
commit | df8e2c3e16befe8c92ee6016059871d126015005 (patch) | |
tree | 1a1f57b67aeb8da9ce3b6dfe7d0d76960a8ed7f8 /drivers/misc/lattice-ecp3-config.c | |
parent | 979ca1ca1f2c87386deffbeb01767bb40448b4a1 (diff) | |
download | linux-df8e2c3e16befe8c92ee6016059871d126015005.tar.xz |
mei: make mei_class a static const structure
Now that the driver core allows for struct class to be in read-only
memory, move the mei_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/20230811213052.85044-1-ivan.orlov0322@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/lattice-ecp3-config.c')
0 files changed, 0 insertions, 0 deletions