aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cdx/controller/cdx_controller.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2023-10-24 11:49:35 +0000
committerGreg Kroah-Hartman <[email protected]>2023-10-25 09:07:11 +0000
commitf6c086ef8417b4c6941628ab043c4688e2fd17c2 (patch)
tree8c0552a33f447de4b85f37a6c2ff55e0c295d2f7 /drivers/cdx/controller/cdx_controller.c
parentparport: Drop even more unneeded NULL or 0 assignments (diff)
downloadkernel-f6c086ef8417b4c6941628ab043c4688e2fd17c2.tar.gz
kernel-f6c086ef8417b4c6941628ab043c4688e2fd17c2.zip
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 <[email protected]> Reviewed-by: Jiri Slaby <[email protected]> Link: https://lore.kernel.org/r/2023102434-font-feast-98e3@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