diff options
| author | Greg Kroah-Hartman <[email protected]> | 2023-10-24 11:48:35 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-10-25 09:08:54 +0000 |
| commit | d223192634ffac3182cc38fda3cca0a8814276ea (patch) | |
| tree | a38d15c6b7ce2348b610aa82ef7124841112d6f8 /drivers/cdx/controller/cdx_controller.c | |
| parent | misc: phantom: make phantom_class constant (diff) | |
| download | kernel-d223192634ffac3182cc38fda3cca0a8814276ea.tar.gz kernel-d223192634ffac3182cc38fda3cca0a8814276ea.zip | |
cxl: make cxl_class constant
Now that the driver core allows for struct class to be in read-only
memory, we should make all 'class' structures declared at build time
placing them into read-only memory, instead of having to be dynamically
allocated at runtime.
Cc: Andrew Donnellan <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: [email protected]
Acked-by: Frederic Barrat <[email protected]>
Link: https://lore.kernel.org/r/2023102434-haiku-uphill-0c11@gregkh
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions
