diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-24 14:49:35 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-25 12:07:11 +0300 |
commit | f6c086ef8417b4c6941628ab043c4688e2fd17c2 (patch) | |
tree | 8c0552a33f447de4b85f37a6c2ff55e0c295d2f7 /drivers/misc/cxl | |
parent | 421359cbdbdcaea93b83e1e6b61eb261b75b1998 (diff) | |
download | linux-f6c086ef8417b4c6941628ab043c4688e2fd17c2.tar.xz |
misc: phantom: make phantom_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: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/2023102434-font-feast-98e3@gregkh
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/cxl')
0 files changed, 0 insertions, 0 deletions