summaryrefslogtreecommitdiff
path: root/drivers/cdx/controller/cdx_controller.c
diff options
context:
space:
mode:
authorRicardo B. Marliere <ricardo@marliere.net>2024-02-04 23:00:13 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-03-07 23:32:47 +0300
commitc65f52fc475df49ebba4152e1c2927883bf8fd37 (patch)
treeeb4e6d4d617fcf4009c630d294308b70332e52d3 /drivers/cdx/controller/cdx_controller.c
parent408b18b1aa1f41f15cbaaf9c43d4500f62d904e1 (diff)
downloadlinux-c65f52fc475df49ebba4152e1c2927883bf8fd37.tar.xz
ipack: make ipack_bus_type const
Now that the driver core can properly handle constant struct bus_type, move the ipack_bus_type variable to be a constant structure as well, placing it into read-only memory which can not be modified at runtime. Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: "Ricardo B. Marliere" <ricardo@marliere.net> Acked-by: Vaibhav Gupta <vaibhavgupta40@gmail.com> Link: https://lore.kernel.org/r/20240204-bus_cleanup-ipack-v1-1-aef5e8f84d01@marliere.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions