Commit 2fbd16e
device: 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 d77b2aa commit 2fbd16e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
0 commit comments