diff --git a/drivers/bluetooth/hci/h4.c b/drivers/bluetooth/hci/h4.c index fe30a6a370d..20f3b3572a7 100644 --- a/drivers/bluetooth/hci/h4.c +++ b/drivers/bluetooth/hci/h4.c @@ -271,4 +271,4 @@ static int _bt_uart_init(struct device *unused) return 0; } -SYS_INIT(_bt_uart_init, NANOKERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE); +SYS_INIT(_bt_uart_init, POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE); diff --git a/drivers/bluetooth/hci/h5.c b/drivers/bluetooth/hci/h5.c index 11cb108230c..90b26e1a123 100644 --- a/drivers/bluetooth/hci/h5.c +++ b/drivers/bluetooth/hci/h5.c @@ -761,4 +761,4 @@ static int _bt_uart_init(struct device *unused) return 0; } -SYS_INIT(_bt_uart_init, NANOKERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE); +SYS_INIT(_bt_uart_init, POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE); diff --git a/drivers/bluetooth/nble/uart.c b/drivers/bluetooth/nble/uart.c index 8ab89adfdbe..8bc957f05d4 100644 --- a/drivers/bluetooth/nble/uart.c +++ b/drivers/bluetooth/nble/uart.c @@ -257,5 +257,5 @@ static int _bt_nble_init(struct device *unused) return 0; } -DEVICE_INIT(bt_nble, "", _bt_nble_init, NULL, NULL, NANOKERNEL, +DEVICE_INIT(bt_nble, "", _bt_nble_init, NULL, NULL, POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE);