mirror-linux/drivers/cdx
Greg Kroah-Hartman 9fd2eb9e18 cdx: make cdx_bus_type constant
Now that the driver core can properly handle constant struct bus_type,
move the cdx_bus_type variable to be a constant structure as well,
placing it into read-only memory which can not be modified at runtime.

Cc: Nipun Gupta <nipun.gupta@amd.com>
Cc: Nikhil Agarwal <nikhil.agarwal@amd.com>
Acked-by: Nipun Gupta <nipun.gupta@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://patch.msgid.link/2025091439-sustained-acorn-4af4@gregkh
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-10-22 07:54:33 +02:00
..
controller VFIO updates for v6.18-rc1 2025-10-04 08:24:54 -07:00
Kconfig cdx: don't select CONFIG_GENERIC_MSI_IRQ 2025-08-27 12:14:12 -06:00
Makefile module: Convert default symbol namespace to string literal 2024-12-03 08:22:25 -08:00
cdx.c cdx: make cdx_bus_type constant 2025-10-22 07:54:33 +02:00
cdx.h cdx: add MSI support for CDX bus 2024-03-07 21:52:03 +00:00
cdx_msi.c cdx: Fix device node reference leak in cdx_msi_domain_init 2025-09-06 19:45:22 +02:00