[PATCH] dm: Fix build error when OF_CONTROL is not set

Simon Glass sjg at chromium.org
Thu Jul 23 20:24:54 CEST 2020


On Tue, 21 Jul 2020 at 07:16, Dan Murphy <dmurphy at ti.com> wrote:
>
> With OF_CONTROL disabled the build fails for
> include/dm/read.h:932:10: error: ‘ENOTSUPP’ undeclared (first use in this function)
>
> Fixes: 134f3c366d78 ("dm: core: gracefully handle alias seq without of")
> Signed-off-by: Dan Murphy <dmurphy at ti.com>
> ---
>  include/dm/read.h | 2 ++
>  1 file changed, 2 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list