]> 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)
committerStefano Babic <sbabic@denx.de>
Mon, 27 Jul 2020 19:03:15 +0000 (21:03 +0200)
commit9c5b4c685f2776de716227690a6eea2084dcab7b
treed4f78ff8dda2c8e2037be815989f106c831935b4
parent348f2abb33472e8804195674e701d67ecca54b63
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