commit | 32cc7bc039876dd6a3147ebdc306e8ffbecddf39 | [log] [tgz] |
---|---|---|
author | Flavio Ceolin <flavio.ceolin@intel.com> | Fri Sep 10 13:18:08 2021 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Sun Sep 12 18:20:34 2021 -0400 |
tree | f929aa7c8103e0bed30ba3ff8c427036e902081d | |
parent | 3bd12333916433308d74ebdb32ff358b6d281c67 [diff] |
pm: Implement function stubs when PM is not enabled Create stubs for when the subsystem is not compiled. Some drivers need to use constraints when are in the middle of a transaction to avoid the system to sleep. As the same driver may be used in a target that does not support power management, they have to conditionally (#if CONFIG_PM) call these functions, these stubs avoid this regular problem. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>