diff options
author | Ricardo B. Marliere <ricardo@marliere.net> | 2024-02-10 02:27:48 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-02-16 13:46:33 +0300 |
commit | 044c566d05035af5092f65a2912a28312dada8fe (patch) | |
tree | ae333008d6abed8fd8329636e680c2310f9907f9 /net/lapb/lapb_timer.c | |
parent | 45d6ed917020855f0ca3ffbe549aba96ba992983 (diff) | |
download | linux-044c566d05035af5092f65a2912a28312dada8fe.tar.xz |
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 <gregkh@linuxfoundation.org>
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ricardo B. Marliere <ricardo@marliere.net>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions