linux-stable/drivers/hsi
Ricardo B. Marliere a0e35a173a hsi: hsi_core: make hsi_bus_type const
Now that the driver core can properly handle constant struct bus_type,
move the hsi_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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20240204-bus_cleanup-hsi-v1-1-f9318131e842@marliere.net
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
2024-02-06 16:08:46 +01:00
..
clients HSI: fix ssi_waketest() declaration 2023-05-20 19:20:30 +02:00
controllers HSI: omap_ssi: Remove usage of the deprecated ida_simple_xx() API 2023-11-13 21:48:46 +01:00
hsi_boardinfo.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 336 2019-06-05 17:37:07 +02:00
hsi_core.c hsi: hsi_core: make hsi_bus_type const 2024-02-06 16:08:46 +01:00
hsi_core.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 336 2019-06-05 17:37:07 +02:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00