Bluetooth: drivers: Don't use deprecated NANOKERNEL init level
Don't use the deprecated NANOKERNEL init level. The only requirement for Bluetooth drivers is for them to be registered before the application main() runs, so POST_KERNEL should be good enough. Change-Id: I02a8609bf63e9d608b802576214a2e76211b3965 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
500010d369
commit
5f5425f20a
3 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue