From: Dan Murphy Date: Thu, 23 Jul 2020 12:01:38 +0000 (-0500) Subject: dm: Fix build error when OF_CONTROL is not set X-Git-Url: http://git.dujemihanovic.xyz/html/index.html?a=commitdiff_plain;h=9beacb6c026bc979e840f022098c36f175555539;p=u-boot.git 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 --- diff --git a/include/dm/read.h b/include/dm/read.h index f02ec95954..b1a6108544 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