diff options
| author | Ricardo B. Marliere <[email protected]> | 2024-02-09 20:27:48 -0300 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2024-02-16 11:46:33 +0100 |
| commit | 044c566d05035af5092f65a2912a28312dada8fe (patch) | |
| tree | ae333008d6abed8fd8329636e680c2310f9907f9 /tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c | |
| parent | 45d6ed917020855f0ca3ffbe549aba96ba992983 (diff) | |
media: bt8xx: make bttv_sub_bus_type const
Now that the driver core can properly handle constant struct bus_type,
move the bttv_sub_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]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c')
0 files changed, 0 insertions, 0 deletions