linux-stable/include/linux/device
Greg Kroah-Hartman 9cc61e5fbd driver core: bus: move dev_root out of struct bus_type
Now that all accesses of dev_root is through the bus_get_dev_root()
call, move the pointer out of struct bus_type and into the private
dynamic structure, subsys_private.

With this change, there is no modifiable portions of struct bus_type so
it can be marked as a constant structure and moved to read-only memory.

Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Link: https://lore.kernel.org/r/20230313182918.1312597-22-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-23 13:20:36 +01:00
..
bus.h driver core: bus: move dev_root out of struct bus_type 2023-03-23 13:20:36 +01:00
class.h driver core: class: make class_create/remove_file*() options const 2023-03-17 15:16:41 +01:00
driver.h driver core: Make driver_deferred_probe_timeout a static variable 2023-01-11 16:06:40 +01:00