1
linux/drivers/nubus
Greg Kroah-Hartman a15f2d48c6 nubus: Make nubus_bus_type static and constant
Now that the driver core can properly handle constant struct bus_type,
move the nubus_bus_type variable to be a constant structure as well,
placing it into read-only memory which can not be modified at runtime.

It's also never used outside of drivers/nubus/bus.c so make it static
and don't export it as no one is using it.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Finn Thain <fthain@linux-m68k.org>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/2023121940-enlarged-editor-c9a8@gregkh
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
2024-01-03 13:33:59 +01:00
..
bus.c nubus: Make nubus_bus_type static and constant 2024-01-03 13:33:59 +01:00
Makefile
nubus.c nubus: Don't list slot resources by default 2023-05-22 13:51:56 +02:00
proc.c nubus: Don't list slot resources by default 2023-05-22 13:51:56 +02:00