diff options
| author | Greg Kroah-Hartman <[email protected]> | 2023-10-24 11:49:59 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-10-27 06:51:00 +0000 |
| commit | 40ea89fb19fdb73472f63a4b00c728ebb55af1b5 (patch) | |
| tree | af764e26eead12e6615c2e9f431b7a883a1b7018 /drivers/cdx/controller/cdx_controller.c | |
| parent | ocxl: make ocxl_class constant (diff) | |
| download | kernel-40ea89fb19fdb73472f63a4b00c728ebb55af1b5.tar.gz kernel-40ea89fb19fdb73472f63a4b00c728ebb55af1b5.zip | |
uacce: make uacce_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: Zhou Wang <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: [email protected]
Tested-by: Zhangfei Gao <[email protected]>
Link: https://lore.kernel.org/r/2023102458-designate-vicinity-4c86@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
