linux-loongson/arch/arm/mach-rpc
Kunwu Chan f554b68eaf ARM: riscpc: make ecard_bus_type constant
Since commit d492cc2573 ("driver core: device.h: make struct
bus_type a const *"), the driver core can properly handle constant
struct bus_type, move the ecard_bus_type variable to be a constant
structure as well, placing it into read-only memory which can not be
modified at runtime.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kunwu Chan <chentao@kylinos.cn>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20240823081444.150976-1-kunwu.chan@linux.dev
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-10 15:42:06 +01:00
..
include/mach ARM: riscpc: use GENERIC_IRQ_MULTI_HANDLER 2021-12-03 18:43:38 +01:00
dma.c ARM: SoC platform updates 2019-07-19 17:05:08 -07:00
ecard-loader.S ARM: SoC platform updates 2019-07-19 17:05:08 -07:00
ecard.c ARM: riscpc: make ecard_bus_type constant 2025-01-10 15:42:06 +01:00
ecard.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
fiq.S ARM: riscpc: use GENERIC_IRQ_MULTI_HANDLER 2021-12-03 18:43:38 +01:00
floppydma.S ARM: SoC platform updates 2019-07-19 17:05:08 -07:00
io-acorn.S printk: Userspace format indexing support 2021-07-19 11:57:48 +02:00
irq.c ARM: riscpc: use GENERIC_IRQ_MULTI_HANDLER 2021-12-03 18:43:38 +01:00
Kconfig ARM: Kconfig: clean up platform selection 2022-08-18 16:44:59 +02:00
Makefile Merge branch 'sa1100-for-next'; commit 'riscpc^{/ARM: riscpc: enable chained scatterlist support}' into for-arm-soc 2019-07-03 11:44:46 +01:00
riscpc.c ARM: riscpc: Fix fall-through warning for Clang 2021-07-29 12:51:00 -05:00
time.c ARM: rpc: use legacy_timer_tick 2020-10-30 21:57:05 +01:00