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)
commit9beacb6c026bc979e840f022098c36f175555539
treeb4f676808d2476389f86b65d43d828966d46eeb0
parente9ab331ca6ba667f81b9ae0a21f37e8561801b16
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