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:AKASHI 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:
Simon Glass <sjg@chromium.org>
Loading
Please register or sign in to comment