linux-stable/drivers/ssb
Ricardo B. Marliere 78092e6855 ssb: make ssb_bustype const
Now that the driver core can properly handle constant struct bus_type,
move the ssb_bustype 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>
Acked-by: Michael Büsch <m@bues.ch>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240204-bus_cleanup-ssb-v1-1-511026cd5f3c@marliere.net
2024-02-06 20:07:12 +02:00
..
b43_pci_bridge.c
bridge_pcmcia_80211.c
driver_chipcommon.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
driver_chipcommon_pmu.c ssb: Replace HTTP links with HTTPS ones 2020-07-15 19:47:10 +03:00
driver_chipcommon_sflash.c
driver_extif.c
driver_gige.c
driver_gpio.c ssb: gpio: Use generic_handle_irq_safe() 2022-09-19 15:08:38 +02:00
driver_mipscore.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
driver_pcicore.c ssb: pcicore: Fix indentation of comment 2021-06-15 13:09:30 +03:00
embedded.c
host_soc.c
Kconfig ssb: relax SSB_EMBEDDED dependencies 2023-10-19 10:26:26 +03:00
main.c ssb: make ssb_bustype const 2024-02-06 20:07:12 +02:00
Makefile
pci.c ssb: remove unreachable code 2022-05-11 08:29:11 +03:00
pcihost_wrapper.c ssb: Use dev_driver_string() instead of pci_dev->driver->name 2021-10-12 17:50:12 -05:00
pcmcia.c ssb: use DEVICE_ATTR_ADMIN_RW() helper macro 2021-06-15 13:11:56 +03:00
scan.c ssb: Fix error return code in ssb_bus_scan() 2021-06-15 13:10:42 +03:00
sdio.c ssb: sdio: Don't overwrite const buffer if block_write fails 2021-06-15 13:10:59 +03:00
sprom.c ssb: Replace HTTP links with HTTPS ones 2020-07-15 19:47:10 +03:00
ssb_private.h