diff options
author | Ricardo B. Marliere <[email protected]> | 2024-02-03 16:14:50 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-02-06 14:35:38 +0000 |
commit | 88cddfb7bf23b06876da6c3e9f296e666d0f6332 (patch) | |
tree | fb7081c66dfddb5e80676cf94ae3e4bd4debc4da /net/lapb/lapb_out.c | |
parent | 2e71508bbf57e349e0bf7bd070ba1ef2510ee168 (diff) |
serdev: make serdev_bus_type const
Now that the driver core can properly handle constant struct bus_type,
move the serdev_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]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions