Skip to content
Commit 3cfc042d authored by AKASHI Takahiro's avatar AKASHI Takahiro Committed by Heinrich Schuchardt
Browse files

dm: fix an 'undefined' error in some macros



Due to a non-existing parameter name in macro's, use of those macro's will
cause a compiler error of "undefined reference".
Unfortunately, dm test doesn't fail because a wrong name ("&dev", hence it
is accidentally a valid name in the context of a caller site) is passed on.

Signed-off-by: default avatarAKASHI Takahiro <takahiro.akashi@linaro.org>
Fixes: f262d4ca ("dm: core: Add a way to read platdata for all
	child devices")
Fixes: 903e83ee ("dm: core: Add a way to iterate through children,
	probing each")
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 19b241c6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment