Commit 400db36
committed
platform: intel: cavs: modify pm_notifier init for older toolchains
With Zephyr commit ae1f13149fcd ("pm: Extend pm notifier to be able to
report substate"), the pm_notifier struct was changed to include
multiple structs within a union. The xcc toolchain used for cAVS
targets cannot initialize the struct with the existing code.
Modify the code to work with the new pm.h definition and the old
compiler used.
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>1 parent 2608ccf commit 400db36
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
112 | | - | |
| 110 | + | |
113 | 111 | | |
114 | 112 | | |
115 | 113 | | |
| |||
138 | 136 | | |
139 | 137 | | |
140 | 138 | | |
| 139 | + | |
141 | 140 | | |
142 | 141 | | |
143 | 142 | | |
| |||
0 commit comments