drivers: wdt_tco: Change init level from PRE_KERNEL_1 to POST_KERNEL
All other watchdog drivers also use POST_KERNEL, and it seems on some platforms where the TCO watchdog is used not all dependencies are yet set up by the PRE_KERNEL_1 level. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
4a614de289
commit
02655e5b15
1 changed files with 1 additions and 1 deletions
|
@ -271,5 +271,5 @@ static const struct tco_config wdt_config = {
|
|||
};
|
||||
|
||||
DEVICE_DT_DEFINE(TCO_WDT_NODE, wdt_init, NULL, &wdt_data, &wdt_config,
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
|
||||
&tco_driver_api);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue