Skip to content

Commit a511f51

Browse files
soburihenrikbrixandersen
authored andcommitted
drivers: power_domain: gpio_monitor: Fix compilation error
The fix 25173f7 created `struct pm_device_base` and moved `usage` to it. This has been overlooked so that I fixed it. Signed-off-by: TOKITA Hiroshi <[email protected]>
1 parent 4ce6a21 commit a511f51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/power_domain/power_domain_gpio_monitor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ static int pd_on_domain_visitor(const struct device *dev, void *context)
3939
return 0;
4040
}
4141

42-
dev->pm->usage = 0;
42+
dev->pm->base.usage = 0;
4343
(void)pm_device_action_run(dev, visitor_context->action);
4444
return 0;
4545
}

0 commit comments

Comments
 (0)