Skip to content
Commit 874a847b authored by Abe Levkoy's avatar Abe Levkoy Committed by Fabio Baltieri
Browse files

emul: Expose struct emul objects



Give struct emul objects defined by EMUL_DEFINE external linkage.
Generate a struct emul prototype for each node in the device tree in
emul.h.

Define EMUL_DT_NAME_GET and deprecate EMUL_REG_NAME, which was only used
in EMUL_DEFINE.

This partially addresses #45976 by making it possible to statically
refer to struct emuls.

Signed-off-by: default avatarAbe Levkoy <alevkoy@google.com>
parent eba8d6d1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment