summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorRicardo B. Marliere <ricardo@marliere.net>2024-02-11 18:51:30 +0300
committerSudeep Holla <sudeep.holla@arm.com>2024-02-20 09:35:55 +0300
commit961745b2c42eb562a6b4433dc5f8fbd974ce4137 (patch)
tree78314c075bed46a63955c94f2ec0e55207323805 /drivers/misc
parentf1d71576d2c9ec8fdb822173fa7f3de79475e9bd (diff)
downloadlinux-961745b2c42eb562a6b4433dc5f8fbd974ce4137.tar.xz
firmware: arm_scmi: Make scmi_bus_type const
Now that the driver core can properly handle constant struct bus_type, move the scmi_bus_type 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: Cristian Marussi <cristian.marussi@arm.com> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://lore.kernel.org/r/20240211-bus_cleanup-firmware2-v1-2-1851c92c7be7@marliere.net Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions