Skip to content
Commit 2438dbb6 authored by Michał Barnaś's avatar Michał Barnaś Committed by Fabio Baltieri
Browse files

init: add missing initialization of dev pointer in SYS_INIT macro



When the -Werror=missing-field-initializers is enabled, the compiler
complains about missing initialization of dev pointer in the
init_entry struct when using the SYS_INIT[_NAMED] macro.
This commit adds explicit assignment of NULL to it.

Signed-off-by: default avatarMichał Barnaś <barnas@google.com>
parent 2c70c5d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment