diff options
| author | Ricardo B. Marliere <[email protected]> | 2024-02-13 14:37:31 +0000 |
|---|---|---|
| committer | Alexandre Belloni <[email protected]> | 2024-02-19 20:23:28 +0000 |
| commit | 8f06fb45853900b4deaa52e2a9e16f3d9550b011 (patch) | |
| tree | b84cdadcfce649a1cdd8a6eef146763d734d899f /scripts/generate_rust_target.rs | |
| parent | i3c: dw: Disable IBI IRQ depends on hot-join and SIR enabling (diff) | |
| download | kernel-8f06fb45853900b4deaa52e2a9e16f3d9550b011.tar.gz kernel-8f06fb45853900b4deaa52e2a9e16f3d9550b011.zip | |
i3c: Make i3c_bus_type const
Since commit d492cc2573a0 ("driver core: device.h: make struct
bus_type a const *"), the driver core can properly handle constant
struct bus_type, move the i3c_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 <[email protected]>
Suggested-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Ricardo B. Marliere <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions
