Skip to content
Commit 2ebb8fad authored by Marco Widmer's avatar Marco Widmer Committed by Anas Nashif
Browse files

pm: only define slots if CONFIG_PM is enabled



The pm_device_slots section is only used by subsys/pm/pm.c. This file is
only compiled if CONFIG_PM=y. pm_device_slots is unused otherwise.

Don't populate pm_device_slots when CONFIG_PM=n, CONFIG_PM_DEVICE=y.

Signed-off-by: default avatarMarco Widmer <marco.widmer@bytesatwork.ch>
parent 17d2906c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment