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 | ||
| gsm_ppp.c | ||
| hl7800.c | ||
| Kconfig | ||
| Kconfig.gsm | ||
| Kconfig.hl7800 | ||
| Kconfig.quectel-bg9x | ||
| Kconfig.ublox-sara-r4 | ||
| Kconfig.wncm14a2a | ||
| modem_cmd_handler.c | ||
| modem_cmd_handler.h | ||
| modem_context.c | ||
| modem_context.h | ||
| modem_iface_uart.c | ||
| modem_iface_uart.h | ||
| modem_pin.c | ||
| modem_receiver.c | ||
| modem_receiver.h | ||
| modem_shell.c | ||
| modem_socket.c | ||
| modem_socket.h | ||
| quectel-bg9x.c | ||
| quectel-bg9x.h | ||
| ublox-sara-r4.c | ||
| wncm14a2a.c | ||