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:
Pieter De Gendt 2024-11-27 13:03:38 +01:00 committed by Benjamin Cabé
commit e9e64bab35
21 changed files with 21 additions and 21 deletions

View file

@ -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,
};