linux/arch/arm/common
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 <linux@armlinux.org.uk>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc:  <linux-arm-kernel@lists.infradead.org>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/2023121905-idiom-opossum-1ba3@gregkh
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-01-04 14:38:57 +01:00
..
bL_switcher_dummy_if.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
bL_switcher.c sched,bL_switcher: Convert to sched_set_fifo*() 2020-06-15 14:10:20 +02:00
firmware.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
Kconfig ARM/dma-mapping: remove dmabounce 2022-07-07 18:18:56 +02:00
krait-l2-accessors.c ARM: Add Krait L2 register accessor functions 2018-10-17 13:14:33 -07:00
locomo.c locomo: make locomo_bus_type constant and static 2024-01-04 14:38:57 +01:00
Makefile ARM: 9263/1: use .arch directives instead of assembler command line flags 2022-11-08 18:36:17 +00:00
mcpm_entry.c arm: update in-source documentation references 2023-06-12 06:33:48 -06:00
mcpm_head.S arm: update in-source documentation references 2023-06-12 06:33:48 -06:00
mcpm_platsmp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
sa1111.c ARM: 9319/1: sa1111: fix sa1111_probe kernel-doc warnings 2023-10-05 16:15:40 +01:00
scoop.c ARM: Convert to platform remove callback returning void 2023-03-17 16:03:57 +01:00
secure_cntvoff.S ARM: smp: Add initialization of CNTVOFF 2018-05-08 14:50:42 +02:00
sharpsl_param.c ARM: mm: Make virt_to_pfn() a static inline 2023-05-29 11:27:08 +02:00
vlock.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
vlock.S arm: update in-source documentation references 2023-06-12 06:33:48 -06:00