diff options
| author | Greg Kroah-Hartman <[email protected]> | 2023-10-24 11:49:04 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-10-25 09:09:04 +0000 |
| commit | cf3c415d7d2c21288fc85d7ed5da9b9af36d0de9 (patch) | |
| tree | 31fcace2d71d332f25b25e7e72f069b3a78720a2 /drivers/cdx/controller/cdx_controller.c | |
| parent | cxl: make cxl_class constant (diff) | |
| download | kernel-cf3c415d7d2c21288fc85d7ed5da9b9af36d0de9.tar.gz kernel-cf3c415d7d2c21288fc85d7ed5da9b9af36d0de9.zip | |
ocxl: make ocxl_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/2023102403-squirt-defraud-6c0c@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
