drivers: bluetooth: hci: Place API into iterable section
Add wrapper DEVICE_API macro to all bt_hci_driver_api instances. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
parent
3146a5552f
commit
e9e64bab35
21 changed files with 21 additions and 21 deletions
|
@ -488,7 +488,7 @@ static int bt_hci_stm32wb0_open(const struct device *dev, bt_hci_recv_t recv)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static const struct bt_hci_driver_api drv = {
|
||||
static DEVICE_API(bt_hci, drv) = {
|
||||
.open = bt_hci_stm32wb0_open,
|
||||
.send = bt_hci_stm32wb0_send,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue