diff options
| author | Ricardo B. Marliere <[email protected]> | 2024-02-04 20:00:13 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-03-07 20:32:47 +0000 |
| commit | c65f52fc475df49ebba4152e1c2927883bf8fd37 (patch) | |
| tree | eb4e6d4d617fcf4009c630d294308b70332e52d3 /drivers/cdx/controller/mcdi_functions.c | |
| parent | most: core: make mostbus const (diff) | |
| download | kernel-c65f52fc475df49ebba4152e1c2927883bf8fd37.tar.gz kernel-c65f52fc475df49ebba4152e1c2927883bf8fd37.zip | |
ipack: make ipack_bus_type const
Now that the driver core can properly handle constant struct bus_type,
move the ipack_bus_type variable to be a constant structure as well,
placing it into read-only memory which can not be modified at runtime.
Suggested-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: "Ricardo B. Marliere" <[email protected]>
Acked-by: Vaibhav Gupta <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/mcdi_functions.c')
0 files changed, 0 insertions, 0 deletions
