summaryrefslogtreecommitdiff
path: root/drivers/sh/intc/core.c
diff options
context:
space:
mode:
authorRicardo B. Marliere <ricardo@marliere.net>2024-02-04 18:15:09 +0300
committerJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>2024-02-15 20:10:49 +0300
commitd32b8d7e3d207bf4d5ae06b1e0fca27fd7639371 (patch)
tree05af2cbb77239be85c82339d2f50b29a525009a3 /drivers/sh/intc/core.c
parent6613476e225e090cc9aad49be7fa504e290dd33d (diff)
downloadlinux-d32b8d7e3d207bf4d5ae06b1e0fca27fd7639371.tar.xz
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>
Diffstat (limited to 'drivers/sh/intc/core.c')
0 files changed, 0 insertions, 0 deletions