mirror-linux/drivers/rapidio
Adrian Barnaś 8ce6b508f2 drivers: rapidio: make rio_bus_type const
Because driver core can properly handle constant struct bus_type,
move the rio_bus_type to be a constant structure as well, placing it into
read-only memory which can not be modified at runtime.

Signed-off-by: Adrian Barnaś <abarnas@google.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://patch.msgid.link/20250919073201.751348-1-abarnas@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-10-22 07:55:02 +02:00
..
devices rapidio: remove some dead defines 2025-05-11 17:54:09 -07:00
switches rapidio: remove not used code about RIO_VID_TUNDRA 2021-12-21 10:22:19 +01:00
Kconfig rapidio: remove choice for enumeration 2024-05-14 23:36:19 +09:00
Makefile
rio-access.c
rio-driver.c drivers: rapidio: make rio_bus_type const 2025-10-22 07:55:02 +02:00
rio-scan.c rapidio: add check for rio_add_net() in rio_scan_alloc_net() 2025-03-05 21:36:19 -08:00
rio-sysfs.c sysfs: treewide: switch back to attribute_group::bin_attrs 2025-06-17 10:44:15 +02:00
rio.c rapidio: remove unused functions 2025-05-11 17:54:09 -07:00
rio.h rapidio: remove unused functions 2025-05-11 17:54:09 -07:00
rio_cm.c drivers/rapidio/rio_cm.c: prevent possible heap overwrite 2025-06-11 22:42:36 -07:00