On Sun, 1 Sep 2019 at 09:28, Marek Vasut <marek.va...@gmail.com> wrote:
>
> Some of the DM functions depend on OF_CONTROL, which is incorrect.
> DM and DT are orthogonal. Add macro guards around such functions to
> avoid compiling them in when DM is enabled, while OF_CONTROL is not.
>
> Signed-off-by: Marek Vasut <marek.vasut+rene...@gmail.com>
> Cc: Simon Glass <s...@chromium.org>
> ---
>  drivers/core/device.c | 4 ++++
>  drivers/core/root.c   | 8 +-------
>  drivers/core/util.c   | 2 ++
>  3 files changed, 7 insertions(+), 7 deletions(-)

Reviewed-by: Simon Glass <s...@chromium.org>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to