Skip to content
Commit 2790547c authored by Jordan Yates's avatar Jordan Yates Committed by Fabio Baltieri
Browse files

init: add sub-priority to internal ordering



Add a sub-priority field to `Z_INIT_ENTRY_SECTION`, which is used to
ensure that multiple drivers running at the same init priority still
run in an order that respects their devicetree dependencies.

This is primarily useful when multiple instances of the same device are
instantiated that can depend on each other, for example power domains
and i2c muxes.

Signed-off-by: default avatarJordan Yates <jordan.yates@data61.csiro.au>
parent b6e03417
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment