The device PM subsystem _depends_ on device, not vice-versa. Devices only hold a reference to struct pm_device now, and initialize this reference with the value provided in Z_DEVICE_DEFINE. This requirement can be solved with a forward struct declaration, meaning there is no need to include device PM headers. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| ht16k33.c | ||
| Kconfig | ||
| Kconfig.gpio | ||
| Kconfig.ht16k33 | ||
| Kconfig.lp503x | ||
| Kconfig.lp3943 | ||
| Kconfig.lp5562 | ||
| Kconfig.pca9633 | ||
| Kconfig.pwm | ||
| Kconfig.tlc59108 | ||
| led_context.h | ||
| led_gpio.c | ||
| led_handlers.c | ||
| led_pwm.c | ||
| led_shell.c | ||
| lp503x.c | ||
| lp3943.c | ||
| lp5562.c | ||
| pca9633.c | ||
| tlc59108.c | ||