linux/drivers/slimbus
Ricardo B. Marliere ab23f1bffc slimbus: core: make slimbus_bus const
Since commit d492cc2573 ("driver core: device.h: make struct
bus_type a const *"), the driver core can properly handle constant
struct bus_type, move the slimbus_bus 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>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20240224114403.86230-3-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-03-07 20:21:39 +00:00
..
core.c slimbus: core: make slimbus_bus const 2024-03-07 20:21:39 +00:00
Kconfig slimbus: qcom-ngd: Fix build error when CONFIG_SLIM_QCOM_NGD_CTRL=y && CONFIG_QCOM_RPROC_COMMON=m 2022-11-10 18:45:40 +01:00
Makefile slimbus: stream: add stream support 2018-07-07 17:25:23 +02:00
messaging.c slimbus: messaging: fix typos in comments 2022-07-08 15:43:42 +02:00
qcom-ctrl.c slimbus: qcom-ctrl: use devm_platform_ioremap_resource_byname() 2022-11-23 19:45:33 +01:00
qcom-ngd-ctrl.c slimbus: qcom-ngd-ctrl: Make QMI message rules const 2024-03-07 20:21:39 +00:00
sched.c slimbus: Add support for 'clock-pause' feature 2017-12-19 11:01:03 +01:00
slimbus.h slimbus: fix a kernel-doc markup 2020-11-27 16:03:42 +01:00
stream.c slimbus: stream: add checks for invalid unprepare/disable usage 2022-11-23 19:45:33 +01:00