2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-02 18:33:55 +08:00
linux-next/arch/sh/drivers
Ricardo B. Marliere d32b8d7e3d sh: dma-sysfs: Make dma_subsys const
Now that the driver core can properly handle constant struct bus_type,
move the dma_subsys 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: Ricardo B. Marliere <ricardo@marliere.net>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Link: https://lore.kernel.org/r/20240204-bus_cleanup-sh-v1-1-44ced951bb16@marliere.net
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
2024-02-15 18:10:49 +01:00
..
dma sh: dma-sysfs: Make dma_subsys const 2024-02-15 18:10:49 +01:00
pci sh: pci: Do PCI error check on own line 2023-10-10 16:36:26 -05:00
heartbeat.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile sh: Remove superhyway bus support 2023-10-25 16:50:11 +02:00
platform_early.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
push-switch.c sh: push-switch: Reorder cleanup operations to avoid use-after-free bug 2023-09-09 21:54:20 +02:00