Searched hist:d32b8d7e3d207bf4d5ae06b1e0fca27fd7639371 (Results 1 – 1 of 1) sorted by relevance
/linux/arch/sh/drivers/dma/ |
H A D | dma-sysfs.c | diff d32b8d7e3d207bf4d5ae06b1e0fca27fd7639371 Sun Feb 04 16:15:09 CET 2024 Ricardo B. Marliere <ricardo@marliere.net> 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>
|