Commit 57d200b
committed
FROMPULL: Update SYS_INIT_NAMED() to be C++ compatible
In zephyrproject-rtos#84394, `struct init_entry` was modified to remove an unneeded union.
The `SYS_INIT_NAMED()` macro was adjusted accordingly, but is no longer
C++ compatible due to the partial designated initializer.
Add an explicit value (NULL) for the other field (`dev`) in that struct.
Signed-off-by: Tristan Honscheid <[email protected]>1 parent 92138f7 commit 57d200b
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
0 commit comments