]> git.dujemihanovic.xyz Git - u-boot.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)
commit1351e3eb724d709f13ef5a5e3be7472e242dc6b4
treed4f78ff8dda2c8e2037be815989f106c831935b4
parent68a699e1e84ea4570e8ec6ae21521d200b158748
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: 45224e8f2691 ("dm: core: gracefully handle alias seq without of")
Signed-off-by: Dan Murphy <dmurphy@ti.com>
include/dm/read.h