diff options
author | Ricardo B. Marliere <[email protected]> | 2024-02-19 16:46:57 -0300 |
---|---|---|
committer | Luiz Augusto von Dentz <[email protected]> | 2024-03-06 17:24:07 -0500 |
commit | 412b894a183cf0546b03f871579a6eff4c3f5d49 (patch) | |
tree | bebaabc9854bca31d3ccc4330894f7937ec55166 /net/lapb/lapb_out.c | |
parent | f9183eaad91521ba1c04a19e5606ae61560a735e (diff) |
Bluetooth: constify the struct device_type usage
Since commit aed65af1cc2f ("drivers: make device_type const"), the driver
core can properly handle constant struct device_type. Move the bt_type and
bnep_type variables to be constant structures as well, placing it into
read-only memory which can not be modified at runtime.
Cc: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Ricardo B. Marliere <[email protected]>
Signed-off-by: Luiz Augusto von Dentz <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions