Greg Kroah-Hartman 94959c0e79 i2c: make i2c_bus_type const
Now that the driver core can properly handle constant struct bus_type,
move the i2c_bus_type variable to be a constant structure as well, placing
it into read-only memory which can not be modified at runtime.

Note, the sound/soc/rockchip/rk3399_gru_sound.c also needed tweaking as
it decided to save off a pointer to a bus type for internal stuff, and
it was using the i2c_bus_type as well.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
2024-01-18 21:10:43 +01:00
..
2023-10-23 19:38:22 +01:00
2023-10-31 09:01:25 +01:00
2023-10-26 17:02:53 +01:00
2024-01-18 21:10:43 +01:00
2023-11-08 17:44:06 +01:00
2023-10-09 13:13:59 +01:00
2023-11-06 10:57:03 +00:00