diff options
author | 2024-02-10 12:10:14 -0300 | |
---|---|---|
committer | 2024-04-16 00:14:36 +0200 | |
commit | ed8c2dad25eb2fbaa61f2e32385ecc1aa34c2355 (patch) | |
tree | 33ad5891beca74f3cdc3b97497a0b5b1b9022026 /drivers/gpu/drm | |
parent | Linux 6.9-rc4 (diff) | |
download | linux-ed8c2dad25eb2fbaa61f2e32385ecc1aa34c2355.tar.gz linux-ed8c2dad25eb2fbaa61f2e32385ecc1aa34c2355.tar.bz2 linux-ed8c2dad25eb2fbaa61f2e32385ecc1aa34c2355.zip |
peci: Make peci_bus_type const
Now that the driver core can properly handle constant struct bus_type,
move the peci_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>
Link: https://lore.kernel.org/r/20240210-bus_cleanup-peci-v1-1-1e64bef6efc0@marliere.net
Signed-off-by: Iwona Winiarska <iwona.winiarska@intel.com>
Diffstat (limited to 'drivers/gpu/drm')
0 files changed, 0 insertions, 0 deletions