Files
linux/arch/arm/include/asm/hardware
Greg Kroah-Hartman 2e9bf5cc91 locomo: make locomo_bus_type constant and static
Now that the driver core can properly handle constant struct bus_type,
move the locomo_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 arch/arm/common/locomo.c so make it
static and don't export it as no one is using it.

Cc: Russell King <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Uwe Kleine-König <[email protected]>
Cc: Randy Dunlap <[email protected]>
Cc:  <[email protected]>
Acked-by: Uwe Kleine-König <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
Link: https://lore.kernel.org/r/2023121905-idiom-opossum-1ba3@gregkh
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-01-04 14:38:57 +01:00
..