diff options
author | Ricardo B. Marliere <ricardo@marliere.net> | 2024-02-08 20:56:52 +0100 |
---|---|---|
committer | John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> | 2024-02-15 18:12:01 +0100 |
commit | ad4acb2ec205464e5c352c0466603174aecb3a38 (patch) | |
tree | b4ee4f4ad2df42c24a9c1e6d486d4fc6b4fb2485 /arch/sh | |
parent | sh: dma-sysfs: Make dma_subsys const (diff) | |
download | linux-ad4acb2ec205464e5c352c0466603174aecb3a38.tar.xz linux-ad4acb2ec205464e5c352c0466603174aecb3a38.zip |
sh: intc: Make intc_subsys const
Now that the driver core can properly handle constant struct bus_type,
move the make intc_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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Link: https://lore.kernel.org/r/20240208-bus_cleanup-sh2-v1-1-729277400893@marliere.net
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions