linux-stable/arch/sh/drivers/dma
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
..
Kconfig sh: dma: Correct the number of DMA channels for SH7709 2023-07-05 18:58:14 +02:00
Makefile sh: drivers: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
dma-api.c sh: Replace all non-returning strlcpy with strscpy 2023-06-14 12:27:20 -07:00
dma-g2.c sh: drivers: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
dma-pvr2.c sh: Replace setup_irq() by request_irq() 2020-03-29 21:03:43 +02:00
dma-sh.c sh: dma: Fix DMA channel offset calculation 2023-07-05 18:55:25 +02:00
dma-sysfs.c sh: dma-sysfs: Make dma_subsys const 2024-02-15 18:10:49 +01:00
dmabrg.c sh: drivers: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00