]> git.baikalelectronics.ru Git - uboot.git/commit
dm: Fix build error when OF_CONTROL is not set
authorDan Murphy <dmurphy@ti.com>
Thu, 23 Jul 2020 12:01:38 +0000 (07:01 -0500)
committerSimon Glass <sjg@chromium.org>
Wed, 29 Jul 2020 01:30:39 +0000 (19:30 -0600)
commit46a1c8dc1d6c608a46efb62f00532518c7c50c27
treeb4f676808d2476389f86b65d43d828966d46eeb0
parent878f3765d4643c7bc6dadea4fe5c9a1bffbfd66a
dm: Fix build error when OF_CONTROL is not set

With OF_CONTROL disabled the build fails for
include/dm/read.h:932:10: error: ‘ENOTSUPP’ undeclared (first use in this function)
  932 |  return -ENOTSUPP;

Fixes: 8c93dff055df ("dm: core: gracefully handle alias seq without of")
Signed-off-by: Dan Murphy <dmurphy@ti.com>
include/dm/read.h