Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions drivers/power_domain/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ config POWER_DOMAIN_GPIO_MONITOR
default y
depends on DT_HAS_POWER_DOMAIN_GPIO_MONITOR_ENABLED
depends on GPIO
depends on PM_DEVICE
select DEVICE_DEPS

if POWER_DOMAIN_GPIO_MONITOR
Expand Down
2 changes: 1 addition & 1 deletion drivers/power_domain/power_domain_gpio_monitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ static int pd_on_domain_visitor(const struct device *dev, void *context)
return 0;
}

dev->pm->usage = 0;
dev->pm->base.usage = 0;
(void)pm_device_action_run(dev, visitor_context->action);
return 0;
}
Expand Down
Loading