diff options
author | Ricardo B. Marliere <[email protected]> | 2024-02-04 17:52:51 -0300 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2024-03-19 02:45:50 -0400 |
commit | 2b666ee29618f452b84aeacf08e1267894de7234 (patch) | |
tree | d6a3ee7662c6de32866bc100524745bd98495866 /include/linux/fpga/fpga-mgr.h | |
parent | 8169ed622060035ba6b5b8c10388dfc9a31f1c98 (diff) |
virtio: make virtio_bus const
Now that the driver core can properly handle constant struct bus_type,
move the virtio_bus 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]>
Message-Id: <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Acked-by: Jason Wang <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions