File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -41,4 +41,14 @@ config POWER_DOMAIN_GPIO_MONITOR
41
41
depends on GPIO
42
42
select DEVICE_DEPS
43
43
44
+ if POWER_DOMAIN_GPIO_MONITOR
45
+
46
+ config POWER_DOMAIN_GPIO_MONITOR_INIT_PRIORITY
47
+ int "GPIO monitor power domain init priority"
48
+ default POWER_DOMAIN_INIT_PRIORITY
49
+ help
50
+ GPIO monitor power domain initialization priority.
51
+
52
+ endif #POWER_DOMAIN_GPIO_MONITOR
53
+
44
54
endif
Original file line number Diff line number Diff line change @@ -145,6 +145,6 @@ static int pd_gpio_monitor_init(const struct device *dev)
145
145
DEVICE_DT_INST_DEFINE(inst, pd_gpio_monitor_init, \
146
146
PM_DEVICE_DT_INST_GET(inst), &pd_gpio_monitor_data_##inst, \
147
147
&pd_gpio_monitor_config_##inst, POST_KERNEL, \
148
- CONFIG_POWER_DOMAIN_INIT_PRIORITY , NULL);
148
+ CONFIG_POWER_DOMAIN_GPIO_MONITOR_INIT_PRIORITY , NULL);
149
149
150
150
DT_INST_FOREACH_STATUS_OKAY (POWER_DOMAIN_DEVICE )
You can’t perform that action at this time.
0 commit comments