From: Dan Murphy Date: Thu, 23 Jul 2020 07:01:38 -0500 Subject: [PATCH v2] dm: Fix build error when OF_CONTROL is not set Message-ID: <20200723120138.10625-1-dmurphy@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- include/dm/read.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/dm/read.h b/include/dm/read.h index f02ec9595413..b1a610854403 100644 --- a/include/dm/read.h +++ b/include/dm/read.h @@ -9,6 +9,8 @@ #ifndef _DM_READ_H #define _DM_READ_H +#include + #include #include #include -- 2.27.0