Skip to content
Commit be4334b2 authored by Tristan Honscheid's avatar Tristan Honscheid Committed by Benjamin Cabé
Browse files

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: default avatarTristan Honscheid <honscheid@google.com>
parent 322b3583
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment