]> Git Repo - linux.git/commit
driver core: device.h: make struct bus_type a const *
authorGreg Kroah-Hartman <[email protected]>
Mon, 13 Mar 2023 18:29:17 +0000 (19:29 +0100)
committerGreg Kroah-Hartman <[email protected]>
Thu, 23 Mar 2023 12:21:58 +0000 (13:21 +0100)
commitd492cc2573a08352c48a66d3e3f312a15fb3f363
treef1567d01293c8f82c156b39c0b442649d8280af0
parentb18d0a0f92a8fe9e56d812808184c8c4b9f18f92
driver core: device.h: make struct bus_type a const *

Now that all users who accessed the bus_type structure in struct device
are properly using it as a const *, mark it as such so that no one can
modify it going forward anymore.

Cc: "Rafael J. Wysocki" <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
include/linux/device.h
This page took 0.055228 seconds and 4 git commands to generate.