commit | be4334b2d2adfee96603f9fcc1046ecc58360e61 | [log] [tgz] |
---|---|---|
author | Tristan Honscheid <honscheid@google.com> | Tue Mar 11 14:28:32 2025 -0600 |
committer | Benjamin Cabé <kartben@gmail.com> | Thu Mar 13 07:24:25 2025 +0100 |
tree | 9b37fd73d93f4f660a7b30adddc48ca558520b0d | |
parent | 322b358368bf8ef813a6b513cb24e0d2ce4611a6 [diff] |
device: Update SYS_INIT_NAMED() to be C++ compatible In #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 <honscheid@google.com>