Skip to content
Commit 3f6add69 authored by Gerard Marull-Paretas's avatar Gerard Marull-Paretas Committed by Henrik Brix Andersen
Browse files

init: drop device union from struct init_entry



Such union is rather redundant, considering a simple const cast can be
done when initializing the init entry. Note that the init_entry does not
need to be touched now that struct device stores the init call. It is
merely an init entry sorted by linker scripts, so we can intertwine
devices and SYS_INIT.

Signed-off-by: default avatarGerard Marull-Paretas <gerard.marull@nordicsemi.no>
parent ed3377ae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment