summaryrefslogtreecommitdiff
path: root/drivers/crypto
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-13 21:29:10 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-23 15:21:26 +0300
commitc28dd08ef713d2127c5bad3f3e0e93d6ec0309a2 (patch)
treece7a789470c37e4f1834066f59b6ffa139245bac /drivers/crypto
parent38370c4e25af7f5670787a1bb1861b289f2ad770 (diff)
downloadlinux-c28dd08ef713d2127c5bad3f3e0e93d6ec0309a2.tar.xz
driver core: make the bus_type in struct device_driver constant
The pointer to struct bus_type in struct device_driver should only be pointing to something that can never change now that the driver core has fixed up the previously writable fields. So mark it as a constant pointer to enforce this and move forward with the goal of moving bus_type into read-only memory. Cc: "Rafael J. Wysocki" <rafael@kernel.org> Link: https://lore.kernel.org/r/20230313182918.1312597-28-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions