linux-stable/net/bluetooth/bnep
Ricardo B. Marliere 412b894a18 Bluetooth: constify the struct device_type usage
Since commit aed65af1cc ("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 <gregkh@linuxfoundation.org>
Signed-off-by: Ricardo B. Marliere <ricardo@marliere.net>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2024-03-06 17:24:07 -05:00
..
bnep.h Bluetooth: Replace zero-length array with flexible-array member 2020-02-28 08:30:02 +01:00
core.c Bluetooth: constify the struct device_type usage 2024-03-06 17:24:07 -05:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
netdev.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
sock.c Bluetooth: Consolidate code around sk_alloc into a helper function 2023-08-11 11:36:50 -07:00