Bluetooth: hci_h5: Add ability to allocate memory for private data
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Fri, 23 Feb 2024 21:37:03 +0000 (00:37 +0300)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 6 Mar 2024 22:26:21 +0000 (17:26 -0500)
commit7a6d793e9ca8bc0c1d2f0aa0a02ec380d1124c74
tree1134f78381f07aac09d0a63245ea6ccb3e86f17e
parent2615fd9a7c2507eb3be3fbe49dcec88a2f56454a
Bluetooth: hci_h5: Add ability to allocate memory for private data

In some cases uart-base drivers may need to use priv data. For
example, to store information needed for devcoredump.

Fixes: 044014ce85a1 ("Bluetooth: btrtl: Add Realtek devcoredump support")
Signed-off-by: Andrey Skvortsov <andrej.skvortzov@gmail.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/hci_h5.c
drivers/bluetooth/hci_serdev.c
drivers/bluetooth/hci_uart.h