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:
Abe Levkoy <alevkoy@google.com>
Loading
Please sign in to comment